diff --git a/gen/adexchangebuyer1d3-cli/Cargo.toml b/gen/adexchangebuyer1d3-cli/Cargo.toml index 6e8fcf6382..9ce69e93a3 100644 --- a/gen/adexchangebuyer1d3-cli/Cargo.toml +++ b/gen/adexchangebuyer1d3-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["adexchangebuyer", "google", "cli"] [[bin]] name = "adexchangebuyer1d3" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/adexchangebuyer1d3/Cargo.toml b/gen/adexchangebuyer1d3/Cargo.toml index 44b0808f2d..e9c3230f3c 100644 --- a/gen/adexchangebuyer1d3/Cargo.toml +++ b/gen/adexchangebuyer1d3/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["adexchangebuyer", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/adexchangebuyer1d3/README.md b/gen/adexchangebuyer1d3/README.md index 5e2e693227..680e12f416 100644 --- a/gen/adexchangebuyer1d3/README.md +++ b/gen/adexchangebuyer1d3/README.md @@ -85,6 +85,7 @@ google-adexchangebuyer1d3 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_adexchangebuyer1d3 as adexchangebuyer1d3; use adexchangebuyer1d3::PretargetingConfig; @@ -102,9 +103,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! diff --git a/gen/adexchangebuyer1d3/src/lib.rs b/gen/adexchangebuyer1d3/src/lib.rs index 447bf4feec..33ca582c29 100644 --- a/gen/adexchangebuyer1d3/src/lib.rs +++ b/gen/adexchangebuyer1d3/src/lib.rs @@ -85,6 +85,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_adexchangebuyer1d3 as adexchangebuyer1d3; //! use adexchangebuyer1d3::PretargetingConfig; @@ -103,9 +104,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +//! let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! @@ -269,6 +270,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_adexchangebuyer1d3 as adexchangebuyer1d3; /// use adexchangebuyer1d3::PretargetingConfig; @@ -287,9 +289,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1172,6 +1174,7 @@ impl Part for CreativeNativeAd {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_adexchangebuyer1d3 as adexchangebuyer1d3; /// @@ -1182,9 +1185,9 @@ impl Part for CreativeNativeAd {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -1242,6 +1245,7 @@ impl<'a, C, A> BillingInfoMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_adexchangebuyer1d3 as adexchangebuyer1d3; /// @@ -1252,9 +1256,9 @@ impl<'a, C, A> BillingInfoMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -1312,6 +1316,7 @@ impl<'a, C, A> DirectDealMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_adexchangebuyer1d3 as adexchangebuyer1d3; /// @@ -1322,9 +1327,9 @@ impl<'a, C, A> DirectDealMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -1414,6 +1419,7 @@ impl<'a, C, A> BudgetMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_adexchangebuyer1d3 as adexchangebuyer1d3; /// @@ -1424,9 +1430,9 @@ impl<'a, C, A> BudgetMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -1508,6 +1514,7 @@ impl<'a, C, A> CreativeMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_adexchangebuyer1d3 as adexchangebuyer1d3; /// @@ -1518,9 +1525,9 @@ impl<'a, C, A> CreativeMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -1616,6 +1623,7 @@ impl<'a, C, A> AccountMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_adexchangebuyer1d3 as adexchangebuyer1d3; /// @@ -1626,9 +1634,9 @@ impl<'a, C, A> AccountMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -1680,6 +1688,7 @@ impl<'a, C, A> PerformanceReportMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_adexchangebuyer1d3 as adexchangebuyer1d3; /// @@ -1690,9 +1699,9 @@ impl<'a, C, A> PerformanceReportMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -1845,6 +1854,7 @@ impl<'a, C, A> PretargetingConfigMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adexchangebuyer1d3 as adexchangebuyer1d3; /// # #[test] fn egal() { @@ -1854,9 +1864,9 @@ impl<'a, C, A> PretargetingConfigMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2080,6 +2090,7 @@ impl<'a, C, A> BillingInfoGetCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adexchangebuyer1d3 as adexchangebuyer1d3; /// # #[test] fn egal() { @@ -2089,9 +2100,9 @@ impl<'a, C, A> BillingInfoGetCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2282,6 +2293,7 @@ impl<'a, C, A> BillingInfoListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adexchangebuyer1d3 as adexchangebuyer1d3; /// # #[test] fn egal() { @@ -2291,9 +2303,9 @@ impl<'a, C, A> BillingInfoListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2484,6 +2496,7 @@ impl<'a, C, A> DirectDealListCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adexchangebuyer1d3 as adexchangebuyer1d3; /// # #[test] fn egal() { @@ -2493,9 +2506,9 @@ impl<'a, C, A> DirectDealListCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2719,6 +2732,7 @@ impl<'a, C, A> DirectDealGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adexchangebuyer1d3 as adexchangebuyer1d3; /// use adexchangebuyer1d3::Budget; @@ -2729,9 +2743,9 @@ impl<'a, C, A> DirectDealGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2997,6 +3011,7 @@ impl<'a, C, A> BudgetPatchCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adexchangebuyer1d3 as adexchangebuyer1d3; /// use adexchangebuyer1d3::Budget; @@ -3007,9 +3022,9 @@ impl<'a, C, A> BudgetPatchCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3275,6 +3290,7 @@ impl<'a, C, A> BudgetUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adexchangebuyer1d3 as adexchangebuyer1d3; /// # #[test] fn egal() { @@ -3284,9 +3300,9 @@ impl<'a, C, A> BudgetUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3522,6 +3538,7 @@ impl<'a, C, A> BudgetGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adexchangebuyer1d3 as adexchangebuyer1d3; /// use adexchangebuyer1d3::Creative; @@ -3532,9 +3549,9 @@ impl<'a, C, A> BudgetGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3755,6 +3772,7 @@ impl<'a, C, A> CreativeInsertCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adexchangebuyer1d3 as adexchangebuyer1d3; /// # #[test] fn egal() { @@ -3764,9 +3782,9 @@ impl<'a, C, A> CreativeInsertCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4023,6 +4041,7 @@ impl<'a, C, A> CreativeListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adexchangebuyer1d3 as adexchangebuyer1d3; /// # #[test] fn egal() { @@ -4032,9 +4051,9 @@ impl<'a, C, A> CreativeListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4270,6 +4289,7 @@ impl<'a, C, A> CreativeGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adexchangebuyer1d3 as adexchangebuyer1d3; /// use adexchangebuyer1d3::Account; @@ -4280,9 +4300,9 @@ impl<'a, C, A> CreativeGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4536,6 +4556,7 @@ impl<'a, C, A> AccountUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adexchangebuyer1d3 as adexchangebuyer1d3; /// use adexchangebuyer1d3::Account; @@ -4546,9 +4567,9 @@ impl<'a, C, A> AccountUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4802,6 +4823,7 @@ impl<'a, C, A> AccountPatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adexchangebuyer1d3 as adexchangebuyer1d3; /// # #[test] fn egal() { @@ -4811,9 +4833,9 @@ impl<'a, C, A> AccountPatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5004,6 +5026,7 @@ impl<'a, C, A> AccountListCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adexchangebuyer1d3 as adexchangebuyer1d3; /// # #[test] fn egal() { @@ -5013,9 +5036,9 @@ impl<'a, C, A> AccountListCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5239,6 +5262,7 @@ impl<'a, C, A> AccountGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adexchangebuyer1d3 as adexchangebuyer1d3; /// # #[test] fn egal() { @@ -5248,9 +5272,9 @@ impl<'a, C, A> AccountGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5501,6 +5525,7 @@ impl<'a, C, A> PerformanceReportListCall<'a, C, A> where C: BorrowMut PerformanceReportListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5737,6 +5762,7 @@ impl<'a, C, A> PretargetingConfigDeleteCall<'a, C, A> where C: BorrowMut PretargetingConfigDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6015,6 +6041,7 @@ impl<'a, C, A> PretargetingConfigPatchCall<'a, C, A> where C: BorrowMut PretargetingConfigPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6262,6 +6289,7 @@ impl<'a, C, A> PretargetingConfigGetCall<'a, C, A> where C: BorrowMut PretargetingConfigGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6528,6 +6556,7 @@ impl<'a, C, A> PretargetingConfigInsertCall<'a, C, A> where C: BorrowMut PretargetingConfigInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6763,6 +6792,7 @@ impl<'a, C, A> PretargetingConfigListCall<'a, C, A> where C: BorrowMut PretargetingConfigListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/adexchangebuyer1d4-cli/Cargo.toml b/gen/adexchangebuyer1d4-cli/Cargo.toml index 877080ce4f..8ccb0fa574 100644 --- a/gen/adexchangebuyer1d4-cli/Cargo.toml +++ b/gen/adexchangebuyer1d4-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["adexchangebuyer", "google", "cli"] [[bin]] name = "adexchangebuyer1d4" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/adexchangebuyer1d4/Cargo.toml b/gen/adexchangebuyer1d4/Cargo.toml index 237260a2ed..619ebaa102 100644 --- a/gen/adexchangebuyer1d4/Cargo.toml +++ b/gen/adexchangebuyer1d4/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["adexchangebuyer", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/adexchangebuyer1d4/README.md b/gen/adexchangebuyer1d4/README.md index 41d8f27539..1ed02ca75b 100644 --- a/gen/adexchangebuyer1d4/README.md +++ b/gen/adexchangebuyer1d4/README.md @@ -97,6 +97,7 @@ google-adexchangebuyer1d4 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_adexchangebuyer1d4 as adexchangebuyer1d4; use adexchangebuyer1d4::{Result, Error}; @@ -113,9 +114,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! diff --git a/gen/adexchangebuyer1d4/src/lib.rs b/gen/adexchangebuyer1d4/src/lib.rs index 00cf70daae..7ad2237a67 100644 --- a/gen/adexchangebuyer1d4/src/lib.rs +++ b/gen/adexchangebuyer1d4/src/lib.rs @@ -97,6 +97,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_adexchangebuyer1d4 as adexchangebuyer1d4; //! use adexchangebuyer1d4::{Result, Error}; @@ -114,9 +115,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +//! let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! @@ -281,6 +282,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_adexchangebuyer1d4 as adexchangebuyer1d4; /// use adexchangebuyer1d4::{Result, Error}; @@ -298,9 +300,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2531,6 +2533,7 @@ impl Part for DealTerms {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_adexchangebuyer1d4 as adexchangebuyer1d4; /// @@ -2541,9 +2544,9 @@ impl Part for DealTerms {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -2589,6 +2592,7 @@ impl<'a, C, A> PubprofileMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_adexchangebuyer1d4 as adexchangebuyer1d4; /// @@ -2599,9 +2603,9 @@ impl<'a, C, A> PubprofileMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -2659,6 +2663,7 @@ impl<'a, C, A> BillingInfoMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_adexchangebuyer1d4 as adexchangebuyer1d4; /// @@ -2669,9 +2674,9 @@ impl<'a, C, A> BillingInfoMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `insert(...)`, `list(...)` and `update(...)` /// // to build up your call. @@ -2775,6 +2780,7 @@ impl<'a, C, A> MarketplacedealMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_adexchangebuyer1d4 as adexchangebuyer1d4; /// @@ -2785,9 +2791,9 @@ impl<'a, C, A> MarketplacedealMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `updateproposal(...)` /// // to build up your call. @@ -2835,6 +2841,7 @@ impl<'a, C, A> MarketplaceprivateauctionMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_adexchangebuyer1d4 as adexchangebuyer1d4; /// @@ -2845,9 +2852,9 @@ impl<'a, C, A> MarketplaceprivateauctionMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `patch(...)`, `search(...)`, `setupcomplete(...)` and `update(...)` /// // to build up your call. @@ -2986,6 +2993,7 @@ impl<'a, C, A> ProposalMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_adexchangebuyer1d4 as adexchangebuyer1d4; /// @@ -2996,9 +3004,9 @@ impl<'a, C, A> ProposalMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -3088,6 +3096,7 @@ impl<'a, C, A> BudgetMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_adexchangebuyer1d4 as adexchangebuyer1d4; /// @@ -3098,9 +3107,9 @@ impl<'a, C, A> BudgetMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -3152,6 +3161,7 @@ impl<'a, C, A> PerformanceReportMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_adexchangebuyer1d4 as adexchangebuyer1d4; /// @@ -3162,9 +3172,9 @@ impl<'a, C, A> PerformanceReportMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `search(...)` /// // to build up your call. @@ -3223,6 +3233,7 @@ impl<'a, C, A> ProductMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_adexchangebuyer1d4 as adexchangebuyer1d4; /// @@ -3233,9 +3244,9 @@ impl<'a, C, A> ProductMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `insert(...)` and `list(...)` /// // to build up your call. @@ -3301,6 +3312,7 @@ impl<'a, C, A> MarketplacenoteMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_adexchangebuyer1d4 as adexchangebuyer1d4; /// @@ -3311,9 +3323,9 @@ impl<'a, C, A> MarketplacenoteMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -3411,6 +3423,7 @@ impl<'a, C, A> AccountMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_adexchangebuyer1d4 as adexchangebuyer1d4; /// @@ -3421,9 +3434,9 @@ impl<'a, C, A> AccountMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `add_deal(...)`, `get(...)`, `insert(...)`, `list(...)`, `list_deals(...)` and `remove_deal(...)` /// // to build up your call. @@ -3567,6 +3580,7 @@ impl<'a, C, A> CreativeMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_adexchangebuyer1d4 as adexchangebuyer1d4; /// @@ -3577,9 +3591,9 @@ impl<'a, C, A> CreativeMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -3732,6 +3746,7 @@ impl<'a, C, A> PretargetingConfigMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adexchangebuyer1d4 as adexchangebuyer1d4; /// # #[test] fn egal() { @@ -3741,9 +3756,9 @@ impl<'a, C, A> PretargetingConfigMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3967,6 +3982,7 @@ impl<'a, C, A> PubprofileListCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adexchangebuyer1d4 as adexchangebuyer1d4; /// # #[test] fn egal() { @@ -3976,9 +3992,9 @@ impl<'a, C, A> PubprofileListCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4202,6 +4218,7 @@ impl<'a, C, A> BillingInfoGetCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adexchangebuyer1d4 as adexchangebuyer1d4; /// # #[test] fn egal() { @@ -4211,9 +4228,9 @@ impl<'a, C, A> BillingInfoGetCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4404,6 +4421,7 @@ impl<'a, C, A> BillingInfoListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adexchangebuyer1d4 as adexchangebuyer1d4; /// use adexchangebuyer1d4::DeleteOrderDealsRequest; @@ -4414,9 +4432,9 @@ impl<'a, C, A> BillingInfoListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4670,6 +4688,7 @@ impl<'a, C, A> MarketplacedealDeleteCall<'a, C, A> where C: BorrowMut MarketplacedealDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4936,6 +4955,7 @@ impl<'a, C, A> MarketplacedealInsertCall<'a, C, A> where C: BorrowMut MarketplacedealInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5202,6 +5222,7 @@ impl<'a, C, A> MarketplacedealUpdateCall<'a, C, A> where C: BorrowMut MarketplacedealUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5449,6 +5470,7 @@ impl<'a, C, A> MarketplacedealListCall<'a, C, A> where C: BorrowMut MarketplacedealListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5704,6 +5726,7 @@ impl<'a, C, A> MarketplaceprivateauctionUpdateproposalCall<'a, C, A> where C: Bo /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adexchangebuyer1d4 as adexchangebuyer1d4; /// # #[test] fn egal() { @@ -5713,9 +5736,9 @@ impl<'a, C, A> MarketplaceprivateauctionUpdateproposalCall<'a, C, A> where C: Bo /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5918,6 +5941,7 @@ impl<'a, C, A> ProposalSearchCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adexchangebuyer1d4 as adexchangebuyer1d4; /// use adexchangebuyer1d4::CreateOrdersRequest; @@ -5928,9 +5952,9 @@ impl<'a, C, A> ProposalSearchCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6151,6 +6175,7 @@ impl<'a, C, A> ProposalInsertCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adexchangebuyer1d4 as adexchangebuyer1d4; /// use adexchangebuyer1d4::Proposal; @@ -6161,9 +6186,9 @@ impl<'a, C, A> ProposalInsertCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6441,6 +6466,7 @@ impl<'a, C, A> ProposalUpdateCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adexchangebuyer1d4 as adexchangebuyer1d4; /// # #[test] fn egal() { @@ -6450,9 +6476,9 @@ impl<'a, C, A> ProposalUpdateCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6665,6 +6691,7 @@ impl<'a, C, A> ProposalSetupcompleteCall<'a, C, A> where C: BorrowMut ProposalSetupcompleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6955,6 +6982,7 @@ impl<'a, C, A> ProposalPatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adexchangebuyer1d4 as adexchangebuyer1d4; /// # #[test] fn egal() { @@ -6964,9 +6992,9 @@ impl<'a, C, A> ProposalPatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7190,6 +7218,7 @@ impl<'a, C, A> ProposalGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adexchangebuyer1d4 as adexchangebuyer1d4; /// use adexchangebuyer1d4::Budget; @@ -7200,9 +7229,9 @@ impl<'a, C, A> ProposalGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7468,6 +7497,7 @@ impl<'a, C, A> BudgetUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adexchangebuyer1d4 as adexchangebuyer1d4; /// # #[test] fn egal() { @@ -7477,9 +7507,9 @@ impl<'a, C, A> BudgetUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7715,6 +7745,7 @@ impl<'a, C, A> BudgetGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adexchangebuyer1d4 as adexchangebuyer1d4; /// use adexchangebuyer1d4::Budget; @@ -7725,9 +7756,9 @@ impl<'a, C, A> BudgetGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7993,6 +8024,7 @@ impl<'a, C, A> BudgetPatchCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adexchangebuyer1d4 as adexchangebuyer1d4; /// # #[test] fn egal() { @@ -8002,9 +8034,9 @@ impl<'a, C, A> BudgetPatchCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8255,6 +8287,7 @@ impl<'a, C, A> PerformanceReportListCall<'a, C, A> where C: BorrowMut PerformanceReportListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8469,6 +8502,7 @@ impl<'a, C, A> ProductSearchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adexchangebuyer1d4 as adexchangebuyer1d4; /// # #[test] fn egal() { @@ -8478,9 +8512,9 @@ impl<'a, C, A> ProductSearchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8704,6 +8738,7 @@ impl<'a, C, A> ProductGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adexchangebuyer1d4 as adexchangebuyer1d4; /// # #[test] fn egal() { @@ -8713,9 +8748,9 @@ impl<'a, C, A> ProductGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8951,6 +8986,7 @@ impl<'a, C, A> MarketplacenoteListCall<'a, C, A> where C: BorrowMut MarketplacenoteListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9217,6 +9253,7 @@ impl<'a, C, A> MarketplacenoteInsertCall<'a, C, A> where C: BorrowMut MarketplacenoteInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9495,6 +9532,7 @@ impl<'a, C, A> AccountPatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adexchangebuyer1d4 as adexchangebuyer1d4; /// # #[test] fn egal() { @@ -9504,9 +9542,9 @@ impl<'a, C, A> AccountPatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9697,6 +9735,7 @@ impl<'a, C, A> AccountListCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adexchangebuyer1d4 as adexchangebuyer1d4; /// # #[test] fn egal() { @@ -9706,9 +9745,9 @@ impl<'a, C, A> AccountListCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9932,6 +9971,7 @@ impl<'a, C, A> AccountGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adexchangebuyer1d4 as adexchangebuyer1d4; /// use adexchangebuyer1d4::Account; @@ -9942,9 +9982,9 @@ impl<'a, C, A> AccountGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10210,6 +10250,7 @@ impl<'a, C, A> AccountUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adexchangebuyer1d4 as adexchangebuyer1d4; /// # #[test] fn egal() { @@ -10219,9 +10260,9 @@ impl<'a, C, A> AccountUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10490,6 +10531,7 @@ impl<'a, C, A> CreativeListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adexchangebuyer1d4 as adexchangebuyer1d4; /// # #[test] fn egal() { @@ -10499,9 +10541,9 @@ impl<'a, C, A> CreativeListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10738,6 +10780,7 @@ impl<'a, C, A> CreativeRemoveDealCall<'a, C, A> where C: BorrowMut CreativeRemoveDealCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10986,6 +11029,7 @@ impl<'a, C, A> CreativeAddDealCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adexchangebuyer1d4 as adexchangebuyer1d4; /// # #[test] fn egal() { @@ -10995,9 +11039,9 @@ impl<'a, C, A> CreativeAddDealCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11233,6 +11277,7 @@ impl<'a, C, A> CreativeGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adexchangebuyer1d4 as adexchangebuyer1d4; /// use adexchangebuyer1d4::Creative; @@ -11243,9 +11288,9 @@ impl<'a, C, A> CreativeGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11466,6 +11511,7 @@ impl<'a, C, A> CreativeInsertCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adexchangebuyer1d4 as adexchangebuyer1d4; /// # #[test] fn egal() { @@ -11475,9 +11521,9 @@ impl<'a, C, A> CreativeInsertCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11713,6 +11759,7 @@ impl<'a, C, A> CreativeListDealCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adexchangebuyer1d4 as adexchangebuyer1d4; /// use adexchangebuyer1d4::PretargetingConfig; @@ -11723,9 +11770,9 @@ impl<'a, C, A> CreativeListDealCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11979,6 +12026,7 @@ impl<'a, C, A> PretargetingConfigInsertCall<'a, C, A> where C: BorrowMut PretargetingConfigInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12214,6 +12262,7 @@ impl<'a, C, A> PretargetingConfigListCall<'a, C, A> where C: BorrowMut PretargetingConfigListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12492,6 +12541,7 @@ impl<'a, C, A> PretargetingConfigUpdateCall<'a, C, A> where C: BorrowMut PretargetingConfigUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12770,6 +12820,7 @@ impl<'a, C, A> PretargetingConfigPatchCall<'a, C, A> where C: BorrowMut PretargetingConfigPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13006,6 +13057,7 @@ impl<'a, C, A> PretargetingConfigDeleteCall<'a, C, A> where C: BorrowMut PretargetingConfigDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/adexchangeseller2-cli/Cargo.toml b/gen/adexchangeseller2-cli/Cargo.toml index 53714a8b3e..75ac4060af 100644 --- a/gen/adexchangeseller2-cli/Cargo.toml +++ b/gen/adexchangeseller2-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["adexchangeseller", "google", "cli"] [[bin]] name = "adexchangeseller2" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/adexchangeseller2/Cargo.toml b/gen/adexchangeseller2/Cargo.toml index c12046f0ea..9745198e80 100644 --- a/gen/adexchangeseller2/Cargo.toml +++ b/gen/adexchangeseller2/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["adexchangeseller", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/adexchangeseller2/README.md b/gen/adexchangeseller2/README.md index 077d325010..decacd99cb 100644 --- a/gen/adexchangeseller2/README.md +++ b/gen/adexchangeseller2/README.md @@ -87,6 +87,7 @@ google-adexchangeseller2 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_adexchangeseller2 as adexchangeseller2; use adexchangeseller2::{Result, Error}; @@ -103,9 +104,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = AdExchangeSeller::new(hyper::Client::new(), auth); +let mut hub = AdExchangeSeller::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! diff --git a/gen/adexchangeseller2/src/lib.rs b/gen/adexchangeseller2/src/lib.rs index 4093f02027..4debb9f040 100644 --- a/gen/adexchangeseller2/src/lib.rs +++ b/gen/adexchangeseller2/src/lib.rs @@ -87,6 +87,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_adexchangeseller2 as adexchangeseller2; //! use adexchangeseller2::{Result, Error}; @@ -104,9 +105,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = AdExchangeSeller::new(hyper::Client::new(), auth); +//! let mut hub = AdExchangeSeller::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! @@ -276,6 +277,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_adexchangeseller2 as adexchangeseller2; /// use adexchangeseller2::{Result, Error}; @@ -293,9 +295,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AdExchangeSeller::new(hyper::Client::new(), auth); +/// let mut hub = AdExchangeSeller::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -868,6 +870,7 @@ impl ResponseResult for CustomChannel {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_adexchangeseller2 as adexchangeseller2; /// @@ -878,9 +881,9 @@ impl ResponseResult for CustomChannel {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AdExchangeSeller::new(hyper::Client::new(), auth); +/// let mut hub = AdExchangeSeller::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `adclients_list(...)`, `alerts_list(...)`, `customchannels_get(...)`, `customchannels_list(...)`, `get(...)`, `list(...)`, `metadata_dimensions_list(...)`, `metadata_metrics_list(...)`, `preferreddeals_get(...)`, `preferreddeals_list(...)`, `reports_generate(...)`, `reports_saved_generate(...)`, `reports_saved_list(...)` and `urlchannels_list(...)` /// // to build up your call. @@ -1187,6 +1190,7 @@ impl<'a, C, A> AccountMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adexchangeseller2 as adexchangeseller2; /// # #[test] fn egal() { @@ -1196,9 +1200,9 @@ impl<'a, C, A> AccountMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdExchangeSeller::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeSeller::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1470,6 +1474,7 @@ impl<'a, C, A> AccountReportSavedGenerateCall<'a, C, A> where C: BorrowMut AccountReportSavedGenerateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdExchangeSeller::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeSeller::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1710,6 +1715,7 @@ impl<'a, C, A> AccountMetadataMetricListCall<'a, C, A> where C: BorrowMut AccountMetadataMetricListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdExchangeSeller::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeSeller::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2081,6 +2087,7 @@ impl<'a, C, A> AccountReportGenerateCall<'a, C, A> where C: BorrowMut AccountReportGenerateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdExchangeSeller::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeSeller::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2352,6 +2359,7 @@ impl<'a, C, A> AccountUrlchannelListCall<'a, C, A> where C: BorrowMut AccountUrlchannelListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdExchangeSeller::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeSeller::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2611,6 +2619,7 @@ impl<'a, C, A> AccountReportSavedListCall<'a, C, A> where C: BorrowMut AccountReportSavedListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdExchangeSeller::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeSeller::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2858,6 +2867,7 @@ impl<'a, C, A> AccountPreferreddealGetCall<'a, C, A> where C: BorrowMut AccountPreferreddealGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdExchangeSeller::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeSeller::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3117,6 +3127,7 @@ impl<'a, C, A> AccountAdclientListCall<'a, C, A> where C: BorrowMut AccountAdclientListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdExchangeSeller::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeSeller::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3352,6 +3363,7 @@ impl<'a, C, A> AccountMetadataDimensionListCall<'a, C, A> where C: BorrowMut AccountMetadataDimensionListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdExchangeSeller::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeSeller::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3611,6 +3623,7 @@ impl<'a, C, A> AccountCustomchannelGetCall<'a, C, A> where C: BorrowMut AccountCustomchannelGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdExchangeSeller::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeSeller::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3882,6 +3895,7 @@ impl<'a, C, A> AccountCustomchannelListCall<'a, C, A> where C: BorrowMut AccountCustomchannelListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdExchangeSeller::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeSeller::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4108,6 +4122,7 @@ impl<'a, C, A> AccountListCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adexchangeseller2 as adexchangeseller2; /// # #[test] fn egal() { @@ -4117,9 +4132,9 @@ impl<'a, C, A> AccountListCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdExchangeSeller::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeSeller::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4355,6 +4370,7 @@ impl<'a, C, A> AccountAlertListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adexchangeseller2 as adexchangeseller2; /// # #[test] fn egal() { @@ -4364,9 +4380,9 @@ impl<'a, C, A> AccountAlertListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdExchangeSeller::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeSeller::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4590,6 +4606,7 @@ impl<'a, C, A> AccountPreferreddealListCall<'a, C, A> where C: BorrowMut AccountPreferreddealListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdExchangeSeller::new(hyper::Client::new(), auth); +/// # let mut hub = AdExchangeSeller::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/admin1_directory-cli/Cargo.toml b/gen/admin1_directory-cli/Cargo.toml index 33e903fbbf..70c2121394 100644 --- a/gen/admin1_directory-cli/Cargo.toml +++ b/gen/admin1_directory-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["admin", "google", "cli"] [[bin]] name = "admin1-directory" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/admin1_directory/Cargo.toml b/gen/admin1_directory/Cargo.toml index 9202d69705..23c59deb52 100644 --- a/gen/admin1_directory/Cargo.toml +++ b/gen/admin1_directory/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["admin", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/admin1_directory/README.md b/gen/admin1_directory/README.md index fd02da39fc..d8ce80ecab 100644 --- a/gen/admin1_directory/README.md +++ b/gen/admin1_directory/README.md @@ -130,6 +130,7 @@ google-admin1_directory = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_admin1_directory as admin1_directory; use admin1_directory::Channel; @@ -147,9 +148,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Directory::new(hyper::Client::new(), auth); +let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! diff --git a/gen/admin1_directory/src/lib.rs b/gen/admin1_directory/src/lib.rs index 86ead9aab7..59a6e33c9e 100644 --- a/gen/admin1_directory/src/lib.rs +++ b/gen/admin1_directory/src/lib.rs @@ -130,6 +130,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_admin1_directory as admin1_directory; //! use admin1_directory::Channel; @@ -148,9 +149,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Directory::new(hyper::Client::new(), auth); +//! let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! @@ -430,6 +431,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_admin1_directory as admin1_directory; /// use admin1_directory::Channel; @@ -448,9 +450,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Directory::new(hyper::Client::new(), auth); +/// let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2365,6 +2367,7 @@ impl ResponseResult for CalendarResources {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_admin1_directory as admin1_directory; /// @@ -2375,9 +2378,9 @@ impl ResponseResult for CalendarResources {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Directory::new(hyper::Client::new(), auth); +/// let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `generate(...)`, `invalidate(...)` and `list(...)` /// // to build up your call. @@ -2457,6 +2460,7 @@ impl<'a, C, A> VerificationCodeMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_admin1_directory as admin1_directory; /// @@ -2467,9 +2471,9 @@ impl<'a, C, A> VerificationCodeMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Directory::new(hyper::Client::new(), auth); +/// let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -2553,6 +2557,7 @@ impl<'a, C, A> CustomerMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_admin1_directory as admin1_directory; /// @@ -2563,9 +2568,9 @@ impl<'a, C, A> CustomerMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Directory::new(hyper::Client::new(), auth); +/// let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -2712,6 +2717,7 @@ impl<'a, C, A> OrgunitMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_admin1_directory as admin1_directory; /// @@ -2722,9 +2728,9 @@ impl<'a, C, A> OrgunitMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Directory::new(hyper::Client::new(), auth); +/// let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -2872,6 +2878,7 @@ impl<'a, C, A> MemberMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_admin1_directory as admin1_directory; /// @@ -2882,9 +2889,9 @@ impl<'a, C, A> MemberMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Directory::new(hyper::Client::new(), auth); +/// let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -3031,6 +3038,7 @@ impl<'a, C, A> RoleMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_admin1_directory as admin1_directory; /// @@ -3041,9 +3049,9 @@ impl<'a, C, A> RoleMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Directory::new(hyper::Client::new(), auth); +/// let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -3172,6 +3180,7 @@ impl<'a, C, A> NotificationMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_admin1_directory as admin1_directory; /// @@ -3182,9 +3191,9 @@ impl<'a, C, A> NotificationMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Directory::new(hyper::Client::new(), auth); +/// let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -3230,6 +3239,7 @@ impl<'a, C, A> PrivilegeMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_admin1_directory as admin1_directory; /// @@ -3240,9 +3250,9 @@ impl<'a, C, A> PrivilegeMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Directory::new(hyper::Client::new(), auth); +/// let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `stop(...)` /// // to build up your call. @@ -3288,6 +3298,7 @@ impl<'a, C, A> ChannelMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_admin1_directory as admin1_directory; /// @@ -3298,9 +3309,9 @@ impl<'a, C, A> ChannelMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Directory::new(hyper::Client::new(), auth); +/// let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `action(...)`, `delete(...)`, `get(...)` and `list(...)` /// // to build up your call. @@ -3412,6 +3423,7 @@ impl<'a, C, A> MobiledeviceMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_admin1_directory as admin1_directory; /// @@ -3422,9 +3434,9 @@ impl<'a, C, A> MobiledeviceMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Directory::new(hyper::Client::new(), auth); +/// let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)` and `list(...)` /// // to build up your call. @@ -3508,6 +3520,7 @@ impl<'a, C, A> TokenMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_admin1_directory as admin1_directory; /// @@ -3518,9 +3531,9 @@ impl<'a, C, A> TokenMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Directory::new(hyper::Client::new(), auth); +/// let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -3627,6 +3640,7 @@ impl<'a, C, A> RoleAssignmentMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_admin1_directory as admin1_directory; /// @@ -3637,9 +3651,9 @@ impl<'a, C, A> RoleAssignmentMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Directory::new(hyper::Client::new(), auth); +/// let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `action(...)`, `get(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -3776,6 +3790,7 @@ impl<'a, C, A> ChromeosdeviceMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_admin1_directory as admin1_directory; /// @@ -3786,9 +3801,9 @@ impl<'a, C, A> ChromeosdeviceMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Directory::new(hyper::Client::new(), auth); +/// let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `aliases_delete(...)`, `aliases_insert(...)`, `aliases_list(...)`, `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -3978,6 +3993,7 @@ impl<'a, C, A> GroupMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_admin1_directory as admin1_directory; /// @@ -3988,9 +4004,9 @@ impl<'a, C, A> GroupMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Directory::new(hyper::Client::new(), auth); +/// let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)` and `list(...)` /// // to build up your call. @@ -4074,6 +4090,7 @@ impl<'a, C, A> AspMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_admin1_directory as admin1_directory; /// @@ -4084,9 +4101,9 @@ impl<'a, C, A> AspMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Directory::new(hyper::Client::new(), auth); +/// let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -4189,6 +4206,7 @@ impl<'a, C, A> DomainMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_admin1_directory as admin1_directory; /// @@ -4199,9 +4217,9 @@ impl<'a, C, A> DomainMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Directory::new(hyper::Client::new(), auth); +/// let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -4305,6 +4323,7 @@ impl<'a, C, A> DomainAliaseMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_admin1_directory as admin1_directory; /// @@ -4315,9 +4334,9 @@ impl<'a, C, A> DomainAliaseMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Directory::new(hyper::Client::new(), auth); +/// let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -4462,6 +4481,7 @@ impl<'a, C, A> SchemaMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_admin1_directory as admin1_directory; /// @@ -4472,9 +4492,9 @@ impl<'a, C, A> SchemaMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Directory::new(hyper::Client::new(), auth); +/// let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `calendars_delete(...)`, `calendars_get(...)`, `calendars_insert(...)`, `calendars_list(...)`, `calendars_patch(...)` and `calendars_update(...)` /// // to build up your call. @@ -4621,6 +4641,7 @@ impl<'a, C, A> ResourceMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_admin1_directory as admin1_directory; /// @@ -4631,9 +4652,9 @@ impl<'a, C, A> ResourceMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Directory::new(hyper::Client::new(), auth); +/// let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `aliases_delete(...)`, `aliases_insert(...)`, `aliases_list(...)`, `aliases_watch(...)`, `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `make_admin(...)`, `patch(...)`, `photos_delete(...)`, `photos_get(...)`, `photos_patch(...)`, `photos_update(...)`, `undelete(...)`, `update(...)` and `watch(...)` /// // to build up your call. @@ -5001,6 +5022,7 @@ impl<'a, C, A> UserMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// # #[test] fn egal() { @@ -5010,9 +5032,9 @@ impl<'a, C, A> UserMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5225,6 +5247,7 @@ impl<'a, C, A> VerificationCodeGenerateCall<'a, C, A> where C: BorrowMut VerificationCodeGenerateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5449,6 +5472,7 @@ impl<'a, C, A> VerificationCodeInvalidateCall<'a, C, A> where C: BorrowMut VerificationCodeInvalidateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5684,6 +5708,7 @@ impl<'a, C, A> VerificationCodeListCall<'a, C, A> where C: BorrowMut VerificationCodeListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5950,6 +5975,7 @@ impl<'a, C, A> CustomerPatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// # #[test] fn egal() { @@ -5959,9 +5985,9 @@ impl<'a, C, A> CustomerPatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6185,6 +6211,7 @@ impl<'a, C, A> CustomerGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// use admin1_directory::Customer; @@ -6195,9 +6222,9 @@ impl<'a, C, A> CustomerGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6451,6 +6478,7 @@ impl<'a, C, A> CustomerUpdateCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// # #[test] fn egal() { @@ -6460,9 +6488,9 @@ impl<'a, C, A> CustomerUpdateCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6710,6 +6738,7 @@ impl<'a, C, A> OrgunitListCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// use admin1_directory::OrgUnit; @@ -6720,9 +6749,9 @@ impl<'a, C, A> OrgunitListCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6976,6 +7005,7 @@ impl<'a, C, A> OrgunitInsertCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// use admin1_directory::OrgUnit; @@ -6986,9 +7016,9 @@ impl<'a, C, A> OrgunitInsertCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7259,6 +7289,7 @@ impl<'a, C, A> OrgunitUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// # #[test] fn egal() { @@ -7268,9 +7299,9 @@ impl<'a, C, A> OrgunitUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7500,6 +7531,7 @@ impl<'a, C, A> OrgunitDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// # #[test] fn egal() { @@ -7509,9 +7541,9 @@ impl<'a, C, A> OrgunitDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7752,6 +7784,7 @@ impl<'a, C, A> OrgunitGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// use admin1_directory::OrgUnit; @@ -7762,9 +7795,9 @@ impl<'a, C, A> OrgunitGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8035,6 +8068,7 @@ impl<'a, C, A> OrgunitPatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// use admin1_directory::Member; @@ -8045,9 +8079,9 @@ impl<'a, C, A> OrgunitPatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8301,6 +8335,7 @@ impl<'a, C, A> MemberInsertCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// use admin1_directory::Member; @@ -8311,9 +8346,9 @@ impl<'a, C, A> MemberInsertCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8579,6 +8614,7 @@ impl<'a, C, A> MemberPatchCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// use admin1_directory::Member; @@ -8589,9 +8625,9 @@ impl<'a, C, A> MemberPatchCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8857,6 +8893,7 @@ impl<'a, C, A> MemberUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// # #[test] fn egal() { @@ -8866,9 +8903,9 @@ impl<'a, C, A> MemberUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9128,6 +9165,7 @@ impl<'a, C, A> MemberListCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// # #[test] fn egal() { @@ -9137,9 +9175,9 @@ impl<'a, C, A> MemberListCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9375,6 +9413,7 @@ impl<'a, C, A> MemberGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// # #[test] fn egal() { @@ -9384,9 +9423,9 @@ impl<'a, C, A> MemberGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9611,6 +9650,7 @@ impl<'a, C, A> MemberDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// use admin1_directory::Role; @@ -9621,9 +9661,9 @@ impl<'a, C, A> MemberDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9889,6 +9929,7 @@ impl<'a, C, A> RoleUpdateCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// # #[test] fn egal() { @@ -9898,9 +9939,9 @@ impl<'a, C, A> RoleUpdateCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10136,6 +10177,7 @@ impl<'a, C, A> RoleGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// # #[test] fn egal() { @@ -10145,9 +10187,9 @@ impl<'a, C, A> RoleGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10372,6 +10414,7 @@ impl<'a, C, A> RoleDeleteCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// use admin1_directory::Role; @@ -10382,9 +10425,9 @@ impl<'a, C, A> RoleDeleteCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10650,6 +10693,7 @@ impl<'a, C, A> RolePatchCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// use admin1_directory::Role; @@ -10660,9 +10704,9 @@ impl<'a, C, A> RolePatchCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10916,6 +10960,7 @@ impl<'a, C, A> RoleInsertCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// # #[test] fn egal() { @@ -10925,9 +10970,9 @@ impl<'a, C, A> RoleInsertCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11175,6 +11220,7 @@ impl<'a, C, A> RoleListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// # #[test] fn egal() { @@ -11184,9 +11230,9 @@ impl<'a, C, A> RoleListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11446,6 +11492,7 @@ impl<'a, C, A> NotificationListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// use admin1_directory::Notification; @@ -11456,9 +11503,9 @@ impl<'a, C, A> NotificationListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11724,6 +11771,7 @@ impl<'a, C, A> NotificationUpdateCall<'a, C, A> where C: BorrowMut NotificationUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11960,6 +12008,7 @@ impl<'a, C, A> NotificationDeleteCall<'a, C, A> where C: BorrowMut NotificationDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12207,6 +12256,7 @@ impl<'a, C, A> NotificationGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// use admin1_directory::Notification; @@ -12217,9 +12267,9 @@ impl<'a, C, A> NotificationGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12485,6 +12535,7 @@ impl<'a, C, A> NotificationPatchCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// # #[test] fn egal() { @@ -12494,9 +12545,9 @@ impl<'a, C, A> NotificationPatchCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12720,6 +12771,7 @@ impl<'a, C, A> PrivilegeListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// use admin1_directory::Channel; @@ -12730,9 +12782,9 @@ impl<'a, C, A> PrivilegeListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12942,6 +12994,7 @@ impl<'a, C, A> ChannelStopCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// # #[test] fn egal() { @@ -12951,9 +13004,9 @@ impl<'a, C, A> ChannelStopCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13201,6 +13254,7 @@ impl<'a, C, A> MobiledeviceGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// # #[test] fn egal() { @@ -13210,9 +13264,9 @@ impl<'a, C, A> MobiledeviceGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13508,6 +13562,7 @@ impl<'a, C, A> MobiledeviceListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// # #[test] fn egal() { @@ -13517,9 +13572,9 @@ impl<'a, C, A> MobiledeviceListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13744,6 +13799,7 @@ impl<'a, C, A> MobiledeviceDeleteCall<'a, C, A> where C: BorrowMut MobiledeviceDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14011,6 +14067,7 @@ impl<'a, C, A> MobiledeviceActionCall<'a, C, A> where C: BorrowMut MobiledeviceActionCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14258,6 +14315,7 @@ impl<'a, C, A> TokenGetCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// # #[test] fn egal() { @@ -14267,9 +14325,9 @@ impl<'a, C, A> TokenGetCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14493,6 +14551,7 @@ impl<'a, C, A> TokenListCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// # #[test] fn egal() { @@ -14502,9 +14561,9 @@ impl<'a, C, A> TokenListCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14729,6 +14788,7 @@ impl<'a, C, A> TokenDeleteCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// use admin1_directory::RoleAssignment; @@ -14739,9 +14799,9 @@ impl<'a, C, A> TokenDeleteCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14995,6 +15055,7 @@ impl<'a, C, A> RoleAssignmentInsertCall<'a, C, A> where C: BorrowMut RoleAssignmentInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15242,6 +15303,7 @@ impl<'a, C, A> RoleAssignmentGetCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// # #[test] fn egal() { @@ -15251,9 +15313,9 @@ impl<'a, C, A> RoleAssignmentGetCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15478,6 +15540,7 @@ impl<'a, C, A> RoleAssignmentDeleteCall<'a, C, A> where C: BorrowMut RoleAssignmentDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15761,6 +15824,7 @@ impl<'a, C, A> RoleAssignmentListCall<'a, C, A> where C: BorrowMut RoleAssignmentListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16068,6 +16132,7 @@ impl<'a, C, A> ChromeosdeviceListCall<'a, C, A> where C: BorrowMut ChromeosdeviceListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16358,6 +16423,7 @@ impl<'a, C, A> ChromeosdevicePatchCall<'a, C, A> where C: BorrowMut ChromeosdevicePatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16648,6 +16714,7 @@ impl<'a, C, A> ChromeosdeviceUpdateCall<'a, C, A> where C: BorrowMut ChromeosdeviceUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16907,6 +16974,7 @@ impl<'a, C, A> ChromeosdeviceGetCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// use admin1_directory::ChromeOsDeviceAction; @@ -16917,9 +16985,9 @@ impl<'a, C, A> ChromeosdeviceGetCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17174,6 +17242,7 @@ impl<'a, C, A> ChromeosdeviceActionCall<'a, C, A> where C: BorrowMut ChromeosdeviceActionCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17398,6 +17467,7 @@ impl<'a, C, A> GroupDeleteCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// # #[test] fn egal() { @@ -17407,9 +17477,9 @@ impl<'a, C, A> GroupDeleteCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17660,6 +17730,7 @@ impl<'a, C, A> GroupListCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// use admin1_directory::Group; @@ -17670,9 +17741,9 @@ impl<'a, C, A> GroupListCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17926,6 +17997,7 @@ impl<'a, C, A> GroupUpdateCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// use admin1_directory::Group; @@ -17936,9 +18008,9 @@ impl<'a, C, A> GroupUpdateCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18159,6 +18231,7 @@ impl<'a, C, A> GroupInsertCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// use admin1_directory::Alias; @@ -18169,9 +18242,9 @@ impl<'a, C, A> GroupInsertCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18425,6 +18498,7 @@ impl<'a, C, A> GroupAliaseInsertCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// # #[test] fn egal() { @@ -18434,9 +18508,9 @@ impl<'a, C, A> GroupAliaseInsertCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18660,6 +18734,7 @@ impl<'a, C, A> GroupAliaseListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// # #[test] fn egal() { @@ -18669,9 +18744,9 @@ impl<'a, C, A> GroupAliaseListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18895,6 +18970,7 @@ impl<'a, C, A> GroupGetCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// use admin1_directory::Group; @@ -18905,9 +18981,9 @@ impl<'a, C, A> GroupGetCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19161,6 +19237,7 @@ impl<'a, C, A> GroupPatchCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// # #[test] fn egal() { @@ -19170,9 +19247,9 @@ impl<'a, C, A> GroupPatchCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19397,6 +19474,7 @@ impl<'a, C, A> GroupAliaseDeleteCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// # #[test] fn egal() { @@ -19406,9 +19484,9 @@ impl<'a, C, A> GroupAliaseDeleteCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19644,6 +19722,7 @@ impl<'a, C, A> AspGetCall<'a, C, A> where C: BorrowMut, A: oauth2 /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// # #[test] fn egal() { @@ -19653,9 +19732,9 @@ impl<'a, C, A> AspGetCall<'a, C, A> where C: BorrowMut, A: oauth2 /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19880,6 +19959,7 @@ impl<'a, C, A> AspDeleteCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// # #[test] fn egal() { @@ -19889,9 +19969,9 @@ impl<'a, C, A> AspDeleteCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20115,6 +20195,7 @@ impl<'a, C, A> AspListCall<'a, C, A> where C: BorrowMut, A: oauth /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// # #[test] fn egal() { @@ -20124,9 +20205,9 @@ impl<'a, C, A> AspListCall<'a, C, A> where C: BorrowMut, A: oauth /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20350,6 +20431,7 @@ impl<'a, C, A> DomainListCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// # #[test] fn egal() { @@ -20359,9 +20441,9 @@ impl<'a, C, A> DomainListCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20597,6 +20679,7 @@ impl<'a, C, A> DomainGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// use admin1_directory::Domains; @@ -20607,9 +20690,9 @@ impl<'a, C, A> DomainGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20863,6 +20946,7 @@ impl<'a, C, A> DomainInsertCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// # #[test] fn egal() { @@ -20872,9 +20956,9 @@ impl<'a, C, A> DomainInsertCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21099,6 +21183,7 @@ impl<'a, C, A> DomainDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// use admin1_directory::DomainAlias; @@ -21109,9 +21194,9 @@ impl<'a, C, A> DomainDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21365,6 +21450,7 @@ impl<'a, C, A> DomainAliaseInsertCall<'a, C, A> where C: BorrowMut DomainAliaseInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21612,6 +21698,7 @@ impl<'a, C, A> DomainAliaseGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// # #[test] fn egal() { @@ -21621,9 +21708,9 @@ impl<'a, C, A> DomainAliaseGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21859,6 +21946,7 @@ impl<'a, C, A> DomainAliaseListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// # #[test] fn egal() { @@ -21868,9 +21956,9 @@ impl<'a, C, A> DomainAliaseListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22095,6 +22183,7 @@ impl<'a, C, A> DomainAliaseDeleteCall<'a, C, A> where C: BorrowMut DomainAliaseDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22342,6 +22431,7 @@ impl<'a, C, A> SchemaGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// use admin1_directory::Schema; @@ -22352,9 +22442,9 @@ impl<'a, C, A> SchemaGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -22620,6 +22710,7 @@ impl<'a, C, A> SchemaUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// # #[test] fn egal() { @@ -22629,9 +22720,9 @@ impl<'a, C, A> SchemaUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22855,6 +22946,7 @@ impl<'a, C, A> SchemaListCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// use admin1_directory::Schema; @@ -22865,9 +22957,9 @@ impl<'a, C, A> SchemaListCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23133,6 +23225,7 @@ impl<'a, C, A> SchemaPatchCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// # #[test] fn egal() { @@ -23142,9 +23235,9 @@ impl<'a, C, A> SchemaPatchCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23369,6 +23462,7 @@ impl<'a, C, A> SchemaDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// use admin1_directory::Schema; @@ -23379,9 +23473,9 @@ impl<'a, C, A> SchemaDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23635,6 +23729,7 @@ impl<'a, C, A> SchemaInsertCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// # #[test] fn egal() { @@ -23644,9 +23739,9 @@ impl<'a, C, A> SchemaInsertCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23894,6 +23989,7 @@ impl<'a, C, A> ResourceCalendarListCall<'a, C, A> where C: BorrowMut ResourceCalendarListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -24141,6 +24237,7 @@ impl<'a, C, A> ResourceCalendarGetCall<'a, C, A> where C: BorrowMut ResourceCalendarGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24407,6 +24504,7 @@ impl<'a, C, A> ResourceCalendarInsertCall<'a, C, A> where C: BorrowMut ResourceCalendarInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24685,6 +24783,7 @@ impl<'a, C, A> ResourceCalendarPatchCall<'a, C, A> where C: BorrowMut ResourceCalendarPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24963,6 +25062,7 @@ impl<'a, C, A> ResourceCalendarUpdateCall<'a, C, A> where C: BorrowMut ResourceCalendarUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25199,6 +25299,7 @@ impl<'a, C, A> ResourceCalendarDeleteCall<'a, C, A> where C: BorrowMut ResourceCalendarDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -25454,6 +25555,7 @@ impl<'a, C, A> UserUndeleteCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// # #[test] fn egal() { @@ -25463,9 +25565,9 @@ impl<'a, C, A> UserUndeleteCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25678,6 +25780,7 @@ impl<'a, C, A> UserPhotoDeleteCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// use admin1_directory::UserPhoto; @@ -25688,9 +25791,9 @@ impl<'a, C, A> UserPhotoDeleteCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -25944,6 +26047,7 @@ impl<'a, C, A> UserPhotoPatchCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// use admin1_directory::User; @@ -25954,9 +26058,9 @@ impl<'a, C, A> UserPhotoPatchCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -26177,6 +26281,7 @@ impl<'a, C, A> UserInsertCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// use admin1_directory::Channel; @@ -26187,9 +26292,9 @@ impl<'a, C, A> UserInsertCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -26455,6 +26560,7 @@ impl<'a, C, A> UserAliaseWatchCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// use admin1_directory::UserPhoto; @@ -26465,9 +26571,9 @@ impl<'a, C, A> UserAliaseWatchCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -26721,6 +26827,7 @@ impl<'a, C, A> UserPhotoUpdateCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// use admin1_directory::Channel; @@ -26731,9 +26838,9 @@ impl<'a, C, A> UserPhotoUpdateCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -27098,6 +27205,7 @@ impl<'a, C, A> UserWatchCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// use admin1_directory::User; @@ -27108,9 +27216,9 @@ impl<'a, C, A> UserWatchCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -27364,6 +27472,7 @@ impl<'a, C, A> UserUpdateCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// # #[test] fn egal() { @@ -27373,9 +27482,9 @@ impl<'a, C, A> UserUpdateCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -27599,6 +27708,7 @@ impl<'a, C, A> UserPhotoGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// # #[test] fn egal() { @@ -27608,9 +27718,9 @@ impl<'a, C, A> UserPhotoGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -27945,6 +28055,7 @@ impl<'a, C, A> UserListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// # #[test] fn egal() { @@ -27954,9 +28065,9 @@ impl<'a, C, A> UserListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -28216,6 +28327,7 @@ impl<'a, C, A> UserGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// use admin1_directory::Alias; @@ -28226,9 +28338,9 @@ impl<'a, C, A> UserGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -28482,6 +28594,7 @@ impl<'a, C, A> UserAliaseInsertCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// # #[test] fn egal() { @@ -28491,9 +28604,9 @@ impl<'a, C, A> UserAliaseInsertCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -28729,6 +28842,7 @@ impl<'a, C, A> UserAliaseListCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// use admin1_directory::UserMakeAdmin; @@ -28739,9 +28853,9 @@ impl<'a, C, A> UserAliaseListCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -28984,6 +29098,7 @@ impl<'a, C, A> UserMakeAdminCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// use admin1_directory::User; @@ -28994,9 +29109,9 @@ impl<'a, C, A> UserMakeAdminCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -29250,6 +29365,7 @@ impl<'a, C, A> UserPatchCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// # #[test] fn egal() { @@ -29259,9 +29375,9 @@ impl<'a, C, A> UserPatchCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -29486,6 +29602,7 @@ impl<'a, C, A> UserAliaseDeleteCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_directory as admin1_directory; /// # #[test] fn egal() { @@ -29495,9 +29612,9 @@ impl<'a, C, A> UserAliaseDeleteCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Directory::new(hyper::Client::new(), auth); +/// # let mut hub = Directory::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/admin1_reports-cli/Cargo.toml b/gen/admin1_reports-cli/Cargo.toml index bab8152c51..28bd55364f 100644 --- a/gen/admin1_reports-cli/Cargo.toml +++ b/gen/admin1_reports-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["admin", "google", "cli"] [[bin]] name = "admin1-reports" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/admin1_reports/Cargo.toml b/gen/admin1_reports/Cargo.toml index 53dc66b85c..3279c4458e 100644 --- a/gen/admin1_reports/Cargo.toml +++ b/gen/admin1_reports/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["admin", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/admin1_reports/README.md b/gen/admin1_reports/README.md index d453f030a0..5fb8793834 100644 --- a/gen/admin1_reports/README.md +++ b/gen/admin1_reports/README.md @@ -82,6 +82,7 @@ google-admin1_reports = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_admin1_reports as admin1_reports; use admin1_reports::Channel; @@ -99,9 +100,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Reports::new(hyper::Client::new(), auth); +let mut hub = Reports::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! diff --git a/gen/admin1_reports/src/lib.rs b/gen/admin1_reports/src/lib.rs index dc0b635f69..0586993506 100644 --- a/gen/admin1_reports/src/lib.rs +++ b/gen/admin1_reports/src/lib.rs @@ -82,6 +82,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_admin1_reports as admin1_reports; //! use admin1_reports::Channel; @@ -100,9 +101,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Reports::new(hyper::Client::new(), auth); +//! let mut hub = Reports::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! @@ -278,6 +279,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_admin1_reports as admin1_reports; /// use admin1_reports::Channel; @@ -296,9 +298,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Reports::new(hyper::Client::new(), auth); +/// let mut hub = Reports::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -738,6 +740,7 @@ impl ResponseResult for Channel {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_admin1_reports as admin1_reports; /// @@ -748,9 +751,9 @@ impl ResponseResult for Channel {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Reports::new(hyper::Client::new(), auth); +/// let mut hub = Reports::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `stop(...)` /// // to build up your call. @@ -796,6 +799,7 @@ impl<'a, C, A> ChannelMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_admin1_reports as admin1_reports; /// @@ -806,9 +810,9 @@ impl<'a, C, A> ChannelMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Reports::new(hyper::Client::new(), auth); +/// let mut hub = Reports::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` and `watch(...)` /// // to build up your call. @@ -893,6 +897,7 @@ impl<'a, C, A> ActivityMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_admin1_reports as admin1_reports; /// @@ -903,9 +908,9 @@ impl<'a, C, A> ActivityMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Reports::new(hyper::Client::new(), auth); +/// let mut hub = Reports::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -954,6 +959,7 @@ impl<'a, C, A> CustomerUsageReportMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_admin1_reports as admin1_reports; /// @@ -964,9 +970,9 @@ impl<'a, C, A> CustomerUsageReportMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Reports::new(hyper::Client::new(), auth); +/// let mut hub = Reports::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -1027,6 +1033,7 @@ impl<'a, C, A> UserUsageReportMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_reports as admin1_reports; /// use admin1_reports::Channel; @@ -1037,9 +1044,9 @@ impl<'a, C, A> UserUsageReportMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Reports::new(hyper::Client::new(), auth); +/// # let mut hub = Reports::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1249,6 +1256,7 @@ impl<'a, C, A> ChannelStopCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_reports as admin1_reports; /// use admin1_reports::Channel; @@ -1259,9 +1267,9 @@ impl<'a, C, A> ChannelStopCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Reports::new(hyper::Client::new(), auth); +/// # let mut hub = Reports::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1623,6 +1631,7 @@ impl<'a, C, A> ActivityWatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_reports as admin1_reports; /// # #[test] fn egal() { @@ -1632,9 +1641,9 @@ impl<'a, C, A> ActivityWatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Reports::new(hyper::Client::new(), auth); +/// # let mut hub = Reports::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1966,6 +1975,7 @@ impl<'a, C, A> ActivityListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_admin1_reports as admin1_reports; /// # #[test] fn egal() { @@ -1975,9 +1985,9 @@ impl<'a, C, A> ActivityListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Reports::new(hyper::Client::new(), auth); +/// # let mut hub = Reports::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2237,6 +2247,7 @@ impl<'a, C, A> CustomerUsageReportGetCall<'a, C, A> where C: BorrowMut CustomerUsageReportGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Reports::new(hyper::Client::new(), auth); +/// # let mut hub = Reports::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/adsense1d4-cli/Cargo.toml b/gen/adsense1d4-cli/Cargo.toml index b0f5b03deb..cd061499e4 100644 --- a/gen/adsense1d4-cli/Cargo.toml +++ b/gen/adsense1d4-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["adsense", "google", "cli"] [[bin]] name = "adsense1d4" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/adsense1d4/Cargo.toml b/gen/adsense1d4/Cargo.toml index 0bddfcc37f..d9e0e2f7d0 100644 --- a/gen/adsense1d4/Cargo.toml +++ b/gen/adsense1d4/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["adsense", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/adsense1d4/README.md b/gen/adsense1d4/README.md index 31f294943f..ecdc6b6fa1 100644 --- a/gen/adsense1d4/README.md +++ b/gen/adsense1d4/README.md @@ -111,6 +111,7 @@ google-adsense1d4 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_adsense1d4 as adsense1d4; use adsense1d4::{Result, Error}; @@ -127,9 +128,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = AdSense::new(hyper::Client::new(), auth); +let mut hub = AdSense::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! diff --git a/gen/adsense1d4/src/lib.rs b/gen/adsense1d4/src/lib.rs index a921687f3c..d0d7ff41e5 100644 --- a/gen/adsense1d4/src/lib.rs +++ b/gen/adsense1d4/src/lib.rs @@ -111,6 +111,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_adsense1d4 as adsense1d4; //! use adsense1d4::{Result, Error}; @@ -128,9 +129,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = AdSense::new(hyper::Client::new(), auth); +//! let mut hub = AdSense::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! @@ -302,6 +303,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_adsense1d4 as adsense1d4; /// use adsense1d4::{Result, Error}; @@ -319,9 +321,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AdSense::new(hyper::Client::new(), auth); +/// let mut hub = AdSense::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1248,6 +1250,7 @@ impl Resource for Payment {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_adsense1d4 as adsense1d4; /// @@ -1258,9 +1261,9 @@ impl Resource for Payment {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AdSense::new(hyper::Client::new(), auth); +/// let mut hub = AdSense::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -1308,6 +1311,7 @@ impl<'a, C, A> UrlchannelMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_adsense1d4 as adsense1d4; /// @@ -1318,9 +1322,9 @@ impl<'a, C, A> UrlchannelMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AdSense::new(hyper::Client::new(), auth); +/// let mut hub = AdSense::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `customchannels_list(...)`, `get(...)`, `get_ad_code(...)` and `list(...)` /// // to build up your call. @@ -1428,6 +1432,7 @@ impl<'a, C, A> AdunitMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_adsense1d4 as adsense1d4; /// @@ -1438,9 +1443,9 @@ impl<'a, C, A> AdunitMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AdSense::new(hyper::Client::new(), auth); +/// let mut hub = AdSense::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -1483,6 +1488,7 @@ impl<'a, C, A> AdclientMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_adsense1d4 as adsense1d4; /// @@ -1493,9 +1499,9 @@ impl<'a, C, A> AdclientMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AdSense::new(hyper::Client::new(), auth); +/// let mut hub = AdSense::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)` and `list(...)` /// // to build up your call. @@ -1554,6 +1560,7 @@ impl<'a, C, A> AlertMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_adsense1d4 as adsense1d4; /// @@ -1564,9 +1571,9 @@ impl<'a, C, A> AlertMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AdSense::new(hyper::Client::new(), auth); +/// let mut hub = AdSense::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -1626,6 +1633,7 @@ impl<'a, C, A> SavedadstyleMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_adsense1d4 as adsense1d4; /// @@ -1636,9 +1644,9 @@ impl<'a, C, A> SavedadstyleMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AdSense::new(hyper::Client::new(), auth); +/// let mut hub = AdSense::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `generate(...)`, `saved_generate(...)` and `saved_list(...)` /// // to build up your call. @@ -1730,6 +1738,7 @@ impl<'a, C, A> ReportMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_adsense1d4 as adsense1d4; /// @@ -1740,9 +1749,9 @@ impl<'a, C, A> ReportMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AdSense::new(hyper::Client::new(), auth); +/// let mut hub = AdSense::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `adclients_list(...)`, `adunits_customchannels_list(...)`, `adunits_get(...)`, `adunits_get_ad_code(...)`, `adunits_list(...)`, `alerts_delete(...)`, `alerts_list(...)`, `customchannels_adunits_list(...)`, `customchannels_get(...)`, `customchannels_list(...)`, `get(...)`, `list(...)`, `payments_list(...)`, `reports_generate(...)`, `reports_saved_generate(...)`, `reports_saved_list(...)`, `savedadstyles_get(...)`, `savedadstyles_list(...)` and `urlchannels_list(...)` /// // to build up your call. @@ -2159,6 +2168,7 @@ impl<'a, C, A> AccountMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_adsense1d4 as adsense1d4; /// @@ -2169,9 +2179,9 @@ impl<'a, C, A> AccountMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AdSense::new(hyper::Client::new(), auth); +/// let mut hub = AdSense::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -2212,6 +2222,7 @@ impl<'a, C, A> PaymentMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_adsense1d4 as adsense1d4; /// @@ -2222,9 +2233,9 @@ impl<'a, C, A> PaymentMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AdSense::new(hyper::Client::new(), auth); +/// let mut hub = AdSense::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `dimensions_list(...)` and `metrics_list(...)` /// // to build up your call. @@ -2277,6 +2288,7 @@ impl<'a, C, A> MetadataMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_adsense1d4 as adsense1d4; /// @@ -2287,9 +2299,9 @@ impl<'a, C, A> MetadataMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AdSense::new(hyper::Client::new(), auth); +/// let mut hub = AdSense::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `adunits_list(...)`, `get(...)` and `list(...)` /// // to build up your call. @@ -2386,6 +2398,7 @@ impl<'a, C, A> CustomchannelMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adsense1d4 as adsense1d4; /// # #[test] fn egal() { @@ -2395,9 +2408,9 @@ impl<'a, C, A> CustomchannelMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdSense::new(hyper::Client::new(), auth); +/// # let mut hub = AdSense::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2645,6 +2658,7 @@ impl<'a, C, A> UrlchannelListCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adsense1d4 as adsense1d4; /// # #[test] fn egal() { @@ -2654,9 +2668,9 @@ impl<'a, C, A> UrlchannelListCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdSense::new(hyper::Client::new(), auth); +/// # let mut hub = AdSense::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2916,6 +2930,7 @@ impl<'a, C, A> AdunitCustomchannelListCall<'a, C, A> where C: BorrowMut AdunitCustomchannelListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdSense::new(hyper::Client::new(), auth); +/// # let mut hub = AdSense::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3163,6 +3178,7 @@ impl<'a, C, A> AdunitGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adsense1d4 as adsense1d4; /// # #[test] fn egal() { @@ -3172,9 +3188,9 @@ impl<'a, C, A> AdunitGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdSense::new(hyper::Client::new(), auth); +/// # let mut hub = AdSense::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3434,6 +3450,7 @@ impl<'a, C, A> AdunitListCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adsense1d4 as adsense1d4; /// # #[test] fn egal() { @@ -3443,9 +3460,9 @@ impl<'a, C, A> AdunitListCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdSense::new(hyper::Client::new(), auth); +/// # let mut hub = AdSense::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3681,6 +3698,7 @@ impl<'a, C, A> AdunitGetAdCodeCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adsense1d4 as adsense1d4; /// # #[test] fn egal() { @@ -3690,9 +3708,9 @@ impl<'a, C, A> AdunitGetAdCodeCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdSense::new(hyper::Client::new(), auth); +/// # let mut hub = AdSense::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3907,6 +3925,7 @@ impl<'a, C, A> AdclientListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adsense1d4 as adsense1d4; /// # #[test] fn egal() { @@ -3916,9 +3935,9 @@ impl<'a, C, A> AdclientListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdSense::new(hyper::Client::new(), auth); +/// # let mut hub = AdSense::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4131,6 +4150,7 @@ impl<'a, C, A> AlertDeleteCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adsense1d4 as adsense1d4; /// # #[test] fn egal() { @@ -4140,9 +4160,9 @@ impl<'a, C, A> AlertDeleteCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdSense::new(hyper::Client::new(), auth); +/// # let mut hub = AdSense::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4345,6 +4365,7 @@ impl<'a, C, A> AlertListCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adsense1d4 as adsense1d4; /// # #[test] fn egal() { @@ -4354,9 +4375,9 @@ impl<'a, C, A> AlertListCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdSense::new(hyper::Client::new(), auth); +/// # let mut hub = AdSense::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4571,6 +4592,7 @@ impl<'a, C, A> SavedadstyleListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adsense1d4 as adsense1d4; /// # #[test] fn egal() { @@ -4580,9 +4602,9 @@ impl<'a, C, A> SavedadstyleListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdSense::new(hyper::Client::new(), auth); +/// # let mut hub = AdSense::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4806,6 +4828,7 @@ impl<'a, C, A> SavedadstyleGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adsense1d4 as adsense1d4; /// # #[test] fn egal() { @@ -4815,9 +4838,9 @@ impl<'a, C, A> SavedadstyleGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdSense::new(hyper::Client::new(), auth); +/// # let mut hub = AdSense::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5037,6 +5060,7 @@ impl<'a, C, A> ReportSavedListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adsense1d4 as adsense1d4; /// # #[test] fn egal() { @@ -5046,9 +5070,9 @@ impl<'a, C, A> ReportSavedListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdSense::new(hyper::Client::new(), auth); +/// # let mut hub = AdSense::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5414,6 +5438,7 @@ impl<'a, C, A> ReportGenerateCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adsense1d4 as adsense1d4; /// # #[test] fn egal() { @@ -5423,9 +5448,9 @@ impl<'a, C, A> ReportGenerateCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdSense::new(hyper::Client::new(), auth); +/// # let mut hub = AdSense::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5685,6 +5710,7 @@ impl<'a, C, A> ReportSavedGenerateCall<'a, C, A> where C: BorrowMut ReportSavedGenerateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdSense::new(hyper::Client::new(), auth); +/// # let mut hub = AdSense::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5921,6 +5947,7 @@ impl<'a, C, A> AccountAlertDeleteCall<'a, C, A> where C: BorrowMut AccountAlertDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdSense::new(hyper::Client::new(), auth); +/// # let mut hub = AdSense::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6168,6 +6195,7 @@ impl<'a, C, A> AccountAlertListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adsense1d4 as adsense1d4; /// # #[test] fn egal() { @@ -6177,9 +6205,9 @@ impl<'a, C, A> AccountAlertListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdSense::new(hyper::Client::new(), auth); +/// # let mut hub = AdSense::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6451,6 +6479,7 @@ impl<'a, C, A> AccountReportSavedGenerateCall<'a, C, A> where C: BorrowMut AccountReportSavedGenerateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdSense::new(hyper::Client::new(), auth); +/// # let mut hub = AdSense::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6677,6 +6706,7 @@ impl<'a, C, A> AccountListCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adsense1d4 as adsense1d4; /// # #[test] fn egal() { @@ -6686,9 +6716,9 @@ impl<'a, C, A> AccountListCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdSense::new(hyper::Client::new(), auth); +/// # let mut hub = AdSense::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6912,6 +6942,7 @@ impl<'a, C, A> AccountPaymentListCall<'a, C, A> where C: BorrowMut AccountPaymentListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdSense::new(hyper::Client::new(), auth); +/// # let mut hub = AdSense::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7159,6 +7190,7 @@ impl<'a, C, A> AccountSavedadstyleGetCall<'a, C, A> where C: BorrowMut AccountSavedadstyleGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdSense::new(hyper::Client::new(), auth); +/// # let mut hub = AdSense::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7418,6 +7450,7 @@ impl<'a, C, A> AccountAdunitGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adsense1d4 as adsense1d4; /// # #[test] fn egal() { @@ -7427,9 +7460,9 @@ impl<'a, C, A> AccountAdunitGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdSense::new(hyper::Client::new(), auth); +/// # let mut hub = AdSense::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7677,6 +7710,7 @@ impl<'a, C, A> AccountCustomchannelGetCall<'a, C, A> where C: BorrowMut AccountCustomchannelGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdSense::new(hyper::Client::new(), auth); +/// # let mut hub = AdSense::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7972,6 +8006,7 @@ impl<'a, C, A> AccountCustomchannelAdunitListCall<'a, C, A> where C: BorrowMut AccountCustomchannelAdunitListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdSense::new(hyper::Client::new(), auth); +/// # let mut hub = AdSense::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8231,6 +8266,7 @@ impl<'a, C, A> AccountReportSavedListCall<'a, C, A> where C: BorrowMut AccountReportSavedListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdSense::new(hyper::Client::new(), auth); +/// # let mut hub = AdSense::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8502,6 +8538,7 @@ impl<'a, C, A> AccountUrlchannelListCall<'a, C, A> where C: BorrowMut AccountUrlchannelListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdSense::new(hyper::Client::new(), auth); +/// # let mut hub = AdSense::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8790,6 +8827,7 @@ impl<'a, C, A> AccountAdunitListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adsense1d4 as adsense1d4; /// # #[test] fn egal() { @@ -8799,9 +8837,9 @@ impl<'a, C, A> AccountAdunitListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdSense::new(hyper::Client::new(), auth); +/// # let mut hub = AdSense::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9185,6 +9223,7 @@ impl<'a, C, A> AccountReportGenerateCall<'a, C, A> where C: BorrowMut AccountReportGenerateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdSense::new(hyper::Client::new(), auth); +/// # let mut hub = AdSense::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9444,6 +9483,7 @@ impl<'a, C, A> AccountAdclientListCall<'a, C, A> where C: BorrowMut AccountAdclientListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdSense::new(hyper::Client::new(), auth); +/// # let mut hub = AdSense::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9715,6 +9755,7 @@ impl<'a, C, A> AccountCustomchannelListCall<'a, C, A> where C: BorrowMut AccountCustomchannelListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdSense::new(hyper::Client::new(), auth); +/// # let mut hub = AdSense::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9974,6 +10015,7 @@ impl<'a, C, A> AccountSavedadstyleListCall<'a, C, A> where C: BorrowMut AccountSavedadstyleListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdSense::new(hyper::Client::new(), auth); +/// # let mut hub = AdSense::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10233,6 +10275,7 @@ impl<'a, C, A> AccountAdunitGetAdCodeCall<'a, C, A> where C: BorrowMut AccountAdunitGetAdCodeCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdSense::new(hyper::Client::new(), auth); +/// # let mut hub = AdSense::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10516,6 +10559,7 @@ impl<'a, C, A> AccountAdunitCustomchannelListCall<'a, C, A> where C: BorrowMut AccountAdunitCustomchannelListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdSense::new(hyper::Client::new(), auth); +/// # let mut hub = AdSense::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10763,6 +10807,7 @@ impl<'a, C, A> AccountGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adsense1d4 as adsense1d4; /// # #[test] fn egal() { @@ -10772,9 +10817,9 @@ impl<'a, C, A> AccountGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdSense::new(hyper::Client::new(), auth); +/// # let mut hub = AdSense::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10965,6 +11010,7 @@ impl<'a, C, A> PaymentListCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adsense1d4 as adsense1d4; /// # #[test] fn egal() { @@ -10974,9 +11020,9 @@ impl<'a, C, A> PaymentListCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdSense::new(hyper::Client::new(), auth); +/// # let mut hub = AdSense::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11167,6 +11213,7 @@ impl<'a, C, A> MetadataDimensionListCall<'a, C, A> where C: BorrowMut MetadataDimensionListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdSense::new(hyper::Client::new(), auth); +/// # let mut hub = AdSense::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11369,6 +11416,7 @@ impl<'a, C, A> MetadataMetricListCall<'a, C, A> where C: BorrowMut MetadataMetricListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdSense::new(hyper::Client::new(), auth); +/// # let mut hub = AdSense::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11616,6 +11664,7 @@ impl<'a, C, A> CustomchannelGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adsense1d4 as adsense1d4; /// # #[test] fn egal() { @@ -11625,9 +11674,9 @@ impl<'a, C, A> CustomchannelGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdSense::new(hyper::Client::new(), auth); +/// # let mut hub = AdSense::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11875,6 +11924,7 @@ impl<'a, C, A> CustomchannelListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adsense1d4 as adsense1d4; /// # #[test] fn egal() { @@ -11884,9 +11934,9 @@ impl<'a, C, A> CustomchannelListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdSense::new(hyper::Client::new(), auth); +/// # let mut hub = AdSense::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/adsensehost4d1-cli/Cargo.toml b/gen/adsensehost4d1-cli/Cargo.toml index ab8fbf6767..39dd2104dc 100644 --- a/gen/adsensehost4d1-cli/Cargo.toml +++ b/gen/adsensehost4d1-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["adsensehost", "google", "cli"] [[bin]] name = "adsensehost4d1" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/adsensehost4d1/Cargo.toml b/gen/adsensehost4d1/Cargo.toml index e52a48297f..e475f9b460 100644 --- a/gen/adsensehost4d1/Cargo.toml +++ b/gen/adsensehost4d1/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["adsensehost", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/adsensehost4d1/README.md b/gen/adsensehost4d1/README.md index 6ea304f2d3..99d12b9a26 100644 --- a/gen/adsensehost4d1/README.md +++ b/gen/adsensehost4d1/README.md @@ -91,6 +91,7 @@ google-adsensehost4d1 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_adsensehost4d1 as adsensehost4d1; use adsensehost4d1::{Result, Error}; @@ -107,9 +108,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = AdSenseHost::new(hyper::Client::new(), auth); +let mut hub = AdSenseHost::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! diff --git a/gen/adsensehost4d1/src/lib.rs b/gen/adsensehost4d1/src/lib.rs index 8d60b46dbd..d1ad8f7965 100644 --- a/gen/adsensehost4d1/src/lib.rs +++ b/gen/adsensehost4d1/src/lib.rs @@ -91,6 +91,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_adsensehost4d1 as adsensehost4d1; //! use adsensehost4d1::{Result, Error}; @@ -108,9 +109,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = AdSenseHost::new(hyper::Client::new(), auth); +//! let mut hub = AdSenseHost::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! @@ -276,6 +277,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_adsensehost4d1 as adsensehost4d1; /// use adsensehost4d1::{Result, Error}; @@ -293,9 +295,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AdSenseHost::new(hyper::Client::new(), auth); +/// let mut hub = AdSenseHost::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -937,6 +939,7 @@ impl ResponseResult for CustomChannels {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_adsensehost4d1 as adsensehost4d1; /// @@ -947,9 +950,9 @@ impl ResponseResult for CustomChannels {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AdSenseHost::new(hyper::Client::new(), auth); +/// let mut hub = AdSenseHost::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -1035,6 +1038,7 @@ impl<'a, C, A> UrlchannelMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_adsensehost4d1 as adsensehost4d1; /// @@ -1045,9 +1049,9 @@ impl<'a, C, A> UrlchannelMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AdSenseHost::new(hyper::Client::new(), auth); +/// let mut hub = AdSenseHost::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -1107,6 +1111,7 @@ impl<'a, C, A> AdclientMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_adsensehost4d1 as adsensehost4d1; /// @@ -1117,9 +1122,9 @@ impl<'a, C, A> AdclientMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AdSenseHost::new(hyper::Client::new(), auth); +/// let mut hub = AdSenseHost::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `start(...)` and `verify(...)` /// // to build up your call. @@ -1186,6 +1191,7 @@ impl<'a, C, A> AssociationsessionMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_adsensehost4d1 as adsensehost4d1; /// @@ -1196,9 +1202,9 @@ impl<'a, C, A> AssociationsessionMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AdSenseHost::new(hyper::Client::new(), auth); +/// let mut hub = AdSenseHost::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `generate(...)` /// // to build up your call. @@ -1253,6 +1259,7 @@ impl<'a, C, A> ReportMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_adsensehost4d1 as adsensehost4d1; /// @@ -1263,9 +1270,9 @@ impl<'a, C, A> ReportMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AdSenseHost::new(hyper::Client::new(), auth); +/// let mut hub = AdSenseHost::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `adclients_get(...)`, `adclients_list(...)`, `adunits_delete(...)`, `adunits_get(...)`, `adunits_get_ad_code(...)`, `adunits_insert(...)`, `adunits_list(...)`, `adunits_patch(...)`, `adunits_update(...)`, `get(...)`, `list(...)` and `reports_generate(...)` /// // to build up your call. @@ -1545,6 +1552,7 @@ impl<'a, C, A> AccountMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_adsensehost4d1 as adsensehost4d1; /// @@ -1555,9 +1563,9 @@ impl<'a, C, A> AccountMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AdSenseHost::new(hyper::Client::new(), auth); +/// let mut hub = AdSenseHost::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -1710,6 +1718,7 @@ impl<'a, C, A> CustomchannelMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adsensehost4d1 as adsensehost4d1; /// use adsensehost4d1::UrlChannel; @@ -1720,9 +1729,9 @@ impl<'a, C, A> CustomchannelMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdSenseHost::new(hyper::Client::new(), auth); +/// # let mut hub = AdSenseHost::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1976,6 +1985,7 @@ impl<'a, C, A> UrlchannelInsertCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adsensehost4d1 as adsensehost4d1; /// # #[test] fn egal() { @@ -1985,9 +1995,9 @@ impl<'a, C, A> UrlchannelInsertCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdSenseHost::new(hyper::Client::new(), auth); +/// # let mut hub = AdSenseHost::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2223,6 +2233,7 @@ impl<'a, C, A> UrlchannelDeleteCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adsensehost4d1 as adsensehost4d1; /// # #[test] fn egal() { @@ -2232,9 +2243,9 @@ impl<'a, C, A> UrlchannelDeleteCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdSenseHost::new(hyper::Client::new(), auth); +/// # let mut hub = AdSenseHost::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2482,6 +2493,7 @@ impl<'a, C, A> UrlchannelListCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adsensehost4d1 as adsensehost4d1; /// # #[test] fn egal() { @@ -2491,9 +2503,9 @@ impl<'a, C, A> UrlchannelListCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdSenseHost::new(hyper::Client::new(), auth); +/// # let mut hub = AdSenseHost::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2708,6 +2720,7 @@ impl<'a, C, A> AdclientListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adsensehost4d1 as adsensehost4d1; /// # #[test] fn egal() { @@ -2717,9 +2730,9 @@ impl<'a, C, A> AdclientListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdSenseHost::new(hyper::Client::new(), auth); +/// # let mut hub = AdSenseHost::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2943,6 +2956,7 @@ impl<'a, C, A> AdclientGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adsensehost4d1 as adsensehost4d1; /// # #[test] fn egal() { @@ -2952,9 +2966,9 @@ impl<'a, C, A> AdclientGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdSenseHost::new(hyper::Client::new(), auth); +/// # let mut hub = AdSenseHost::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3198,6 +3212,7 @@ impl<'a, C, A> AssociationsessionStartCall<'a, C, A> where C: BorrowMut AssociationsessionStartCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdSenseHost::new(hyper::Client::new(), auth); +/// # let mut hub = AdSenseHost::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3412,6 +3427,7 @@ impl<'a, C, A> AssociationsessionVerifyCall<'a, C, A> where C: BorrowMut AssociationsessionVerifyCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdSenseHost::new(hyper::Client::new(), auth); +/// # let mut hub = AdSenseHost::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3734,6 +3750,7 @@ impl<'a, C, A> ReportGenerateCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adsensehost4d1 as adsensehost4d1; /// # #[test] fn egal() { @@ -3743,9 +3760,9 @@ impl<'a, C, A> ReportGenerateCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdSenseHost::new(hyper::Client::new(), auth); +/// # let mut hub = AdSenseHost::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4017,6 +4034,7 @@ impl<'a, C, A> AccountAdunitListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adsensehost4d1 as adsensehost4d1; /// # #[test] fn egal() { @@ -4026,9 +4044,9 @@ impl<'a, C, A> AccountAdunitListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdSenseHost::new(hyper::Client::new(), auth); +/// # let mut hub = AdSenseHost::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4236,6 +4254,7 @@ impl<'a, C, A> AccountListCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adsensehost4d1 as adsensehost4d1; /// # #[test] fn egal() { @@ -4245,9 +4264,9 @@ impl<'a, C, A> AccountListCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdSenseHost::new(hyper::Client::new(), auth); +/// # let mut hub = AdSenseHost::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4510,6 +4529,7 @@ impl<'a, C, A> AccountAdunitGetAdCodeCall<'a, C, A> where C: BorrowMut AccountAdunitGetAdCodeCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdSenseHost::new(hyper::Client::new(), auth); +/// # let mut hub = AdSenseHost::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4865,6 +4885,7 @@ impl<'a, C, A> AccountReportGenerateCall<'a, C, A> where C: BorrowMut AccountReportGenerateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdSenseHost::new(hyper::Client::new(), auth); +/// # let mut hub = AdSenseHost::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5124,6 +5145,7 @@ impl<'a, C, A> AccountAdunitDeleteCall<'a, C, A> where C: BorrowMut AccountAdunitDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdSenseHost::new(hyper::Client::new(), auth); +/// # let mut hub = AdSenseHost::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5383,6 +5405,7 @@ impl<'a, C, A> AccountAdclientListCall<'a, C, A> where C: BorrowMut AccountAdclientListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdSenseHost::new(hyper::Client::new(), auth); +/// # let mut hub = AdSenseHost::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5673,6 +5696,7 @@ impl<'a, C, A> AccountAdunitPatchCall<'a, C, A> where C: BorrowMut AccountAdunitPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdSenseHost::new(hyper::Client::new(), auth); +/// # let mut hub = AdSenseHost::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5920,6 +5944,7 @@ impl<'a, C, A> AccountAdclientGetCall<'a, C, A> where C: BorrowMut AccountAdclientGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdSenseHost::new(hyper::Client::new(), auth); +/// # let mut hub = AdSenseHost::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6155,6 +6180,7 @@ impl<'a, C, A> AccountGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adsensehost4d1 as adsensehost4d1; /// use adsensehost4d1::AdUnit; @@ -6165,9 +6191,9 @@ impl<'a, C, A> AccountGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdSenseHost::new(hyper::Client::new(), auth); +/// # let mut hub = AdSenseHost::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6433,6 +6459,7 @@ impl<'a, C, A> AccountAdunitInsertCall<'a, C, A> where C: BorrowMut AccountAdunitInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdSenseHost::new(hyper::Client::new(), auth); +/// # let mut hub = AdSenseHost::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6692,6 +6719,7 @@ impl<'a, C, A> AccountAdunitGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adsensehost4d1 as adsensehost4d1; /// use adsensehost4d1::AdUnit; @@ -6702,9 +6730,9 @@ impl<'a, C, A> AccountAdunitGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdSenseHost::new(hyper::Client::new(), auth); +/// # let mut hub = AdSenseHost::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6970,6 +6998,7 @@ impl<'a, C, A> AccountAdunitUpdateCall<'a, C, A> where C: BorrowMut AccountAdunitUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdSenseHost::new(hyper::Client::new(), auth); +/// # let mut hub = AdSenseHost::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7217,6 +7246,7 @@ impl<'a, C, A> CustomchannelGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adsensehost4d1 as adsensehost4d1; /// # #[test] fn egal() { @@ -7226,9 +7256,9 @@ impl<'a, C, A> CustomchannelGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdSenseHost::new(hyper::Client::new(), auth); +/// # let mut hub = AdSenseHost::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7464,6 +7494,7 @@ impl<'a, C, A> CustomchannelDeleteCall<'a, C, A> where C: BorrowMut CustomchannelDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdSenseHost::new(hyper::Client::new(), auth); +/// # let mut hub = AdSenseHost::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7730,6 +7761,7 @@ impl<'a, C, A> CustomchannelUpdateCall<'a, C, A> where C: BorrowMut CustomchannelUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdSenseHost::new(hyper::Client::new(), auth); +/// # let mut hub = AdSenseHost::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7989,6 +8021,7 @@ impl<'a, C, A> CustomchannelListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_adsensehost4d1 as adsensehost4d1; /// use adsensehost4d1::CustomChannel; @@ -7999,9 +8032,9 @@ impl<'a, C, A> CustomchannelListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AdSenseHost::new(hyper::Client::new(), auth); +/// # let mut hub = AdSenseHost::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8267,6 +8300,7 @@ impl<'a, C, A> CustomchannelPatchCall<'a, C, A> where C: BorrowMut CustomchannelPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AdSenseHost::new(hyper::Client::new(), auth); +/// # let mut hub = AdSenseHost::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/analytics3-cli/Cargo.toml b/gen/analytics3-cli/Cargo.toml index 91dc66f343..4e497a3633 100644 --- a/gen/analytics3-cli/Cargo.toml +++ b/gen/analytics3-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["analytics", "google", "cli"] [[bin]] name = "analytics3" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/analytics3/Cargo.toml b/gen/analytics3/Cargo.toml index 5edace07b9..18a3add4df 100644 --- a/gen/analytics3/Cargo.toml +++ b/gen/analytics3/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["analytics", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/analytics3/README.md b/gen/analytics3/README.md index 4dd41432a1..5a77c476bd 100644 --- a/gen/analytics3/README.md +++ b/gen/analytics3/README.md @@ -85,6 +85,7 @@ google-analytics3 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_analytics3 as analytics3; use analytics3::EntityUserLink; @@ -102,9 +103,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Analytics::new(hyper::Client::new(), auth); +let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! diff --git a/gen/analytics3/src/lib.rs b/gen/analytics3/src/lib.rs index ee825e16fa..53202e70f8 100644 --- a/gen/analytics3/src/lib.rs +++ b/gen/analytics3/src/lib.rs @@ -85,6 +85,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_analytics3 as analytics3; //! use analytics3::EntityUserLink; @@ -103,9 +104,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Analytics::new(hyper::Client::new(), auth); +//! let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! @@ -289,6 +290,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_analytics3 as analytics3; /// use analytics3::EntityUserLink; @@ -307,9 +309,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Analytics::new(hyper::Client::new(), auth); +/// let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3520,6 +3522,7 @@ impl Part for ProfileChildLink {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_analytics3 as analytics3; /// @@ -3530,9 +3533,9 @@ impl Part for ProfileChildLink {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Analytics::new(hyper::Client::new(), auth); +/// let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `account_summaries_list(...)`, `account_user_links_delete(...)`, `account_user_links_insert(...)`, `account_user_links_list(...)`, `account_user_links_update(...)`, `accounts_list(...)`, `custom_data_sources_list(...)`, `custom_dimensions_get(...)`, `custom_dimensions_insert(...)`, `custom_dimensions_list(...)`, `custom_dimensions_patch(...)`, `custom_dimensions_update(...)`, `custom_metrics_get(...)`, `custom_metrics_insert(...)`, `custom_metrics_list(...)`, `custom_metrics_patch(...)`, `custom_metrics_update(...)`, `experiments_delete(...)`, `experiments_get(...)`, `experiments_insert(...)`, `experiments_list(...)`, `experiments_patch(...)`, `experiments_update(...)`, `filters_delete(...)`, `filters_get(...)`, `filters_insert(...)`, `filters_list(...)`, `filters_patch(...)`, `filters_update(...)`, `goals_get(...)`, `goals_insert(...)`, `goals_list(...)`, `goals_patch(...)`, `goals_update(...)`, `profile_filter_links_delete(...)`, `profile_filter_links_get(...)`, `profile_filter_links_insert(...)`, `profile_filter_links_list(...)`, `profile_filter_links_patch(...)`, `profile_filter_links_update(...)`, `profile_user_links_delete(...)`, `profile_user_links_insert(...)`, `profile_user_links_list(...)`, `profile_user_links_update(...)`, `profiles_delete(...)`, `profiles_get(...)`, `profiles_insert(...)`, `profiles_list(...)`, `profiles_patch(...)`, `profiles_update(...)`, `remarketing_audience_delete(...)`, `remarketing_audience_get(...)`, `remarketing_audience_insert(...)`, `remarketing_audience_list(...)`, `remarketing_audience_patch(...)`, `remarketing_audience_update(...)`, `segments_list(...)`, `unsampled_reports_delete(...)`, `unsampled_reports_get(...)`, `unsampled_reports_insert(...)`, `unsampled_reports_list(...)`, `uploads_delete_upload_data(...)`, `uploads_get(...)`, `uploads_list(...)`, `uploads_upload_data(...)`, `web_property_ad_words_links_delete(...)`, `web_property_ad_words_links_get(...)`, `web_property_ad_words_links_insert(...)`, `web_property_ad_words_links_list(...)`, `web_property_ad_words_links_patch(...)`, `web_property_ad_words_links_update(...)`, `webproperties_get(...)`, `webproperties_insert(...)`, `webproperties_list(...)`, `webproperties_patch(...)`, `webproperties_update(...)`, `webproperty_user_links_delete(...)`, `webproperty_user_links_insert(...)`, `webproperty_user_links_list(...)` and `webproperty_user_links_update(...)` /// // to build up your call. @@ -5297,6 +5300,7 @@ impl<'a, C, A> ManagementMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_analytics3 as analytics3; /// @@ -5307,9 +5311,9 @@ impl<'a, C, A> ManagementMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Analytics::new(hyper::Client::new(), auth); +/// let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `ga_get(...)`, `mcf_get(...)` and `realtime_get(...)` /// // to build up your call. @@ -5422,6 +5426,7 @@ impl<'a, C, A> DataMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_analytics3 as analytics3; /// @@ -5432,9 +5437,9 @@ impl<'a, C, A> DataMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Analytics::new(hyper::Client::new(), auth); +/// let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create_account_ticket(...)` /// // to build up your call. @@ -5480,6 +5485,7 @@ impl<'a, C, A> ProvisioningMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_analytics3 as analytics3; /// @@ -5490,9 +5496,9 @@ impl<'a, C, A> ProvisioningMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Analytics::new(hyper::Client::new(), auth); +/// let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `columns_list(...)` /// // to build up your call. @@ -5546,6 +5552,7 @@ impl<'a, C, A> MetadataMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_analytics3 as analytics3; /// use analytics3::Webproperty; @@ -5556,9 +5563,9 @@ impl<'a, C, A> MetadataMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5812,6 +5819,7 @@ impl<'a, C, A> ManagementWebpropertyInsertCall<'a, C, A> where C: BorrowMut ManagementWebpropertyInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6071,6 +6079,7 @@ impl<'a, C, A> ManagementProfileGetCall<'a, C, A> where C: BorrowMut ManagementProfileGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6297,6 +6306,7 @@ impl<'a, C, A> ManagementAccountListCall<'a, C, A> where C: BorrowMut ManagementAccountListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6599,6 +6609,7 @@ impl<'a, C, A> ManagementProfileFilterLinkPatchCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_analytics3 as analytics3; /// # #[test] fn egal() { @@ -6608,9 +6619,9 @@ impl<'a, C, A> ManagementProfileFilterLinkPatchCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6847,6 +6858,7 @@ impl<'a, C, A> ManagementWebpropertyUserLinkDeleteCall<'a, C, A> where C: Borrow /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_analytics3 as analytics3; /// # #[test] fn egal() { @@ -6856,9 +6868,9 @@ impl<'a, C, A> ManagementWebpropertyUserLinkDeleteCall<'a, C, A> where C: Borrow /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7107,6 +7119,7 @@ impl<'a, C, A> ManagementProfileUserLinkDeleteCall<'a, C, A> where C: BorrowMut< /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_analytics3 as analytics3; /// use analytics3::EntityUserLink; @@ -7117,9 +7130,9 @@ impl<'a, C, A> ManagementProfileUserLinkDeleteCall<'a, C, A> where C: BorrowMut< /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7409,6 +7422,7 @@ impl<'a, C, A> ManagementProfileUserLinkUpdateCall<'a, C, A> where C: BorrowMut< /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_analytics3 as analytics3; /// use analytics3::Filter; @@ -7419,9 +7433,9 @@ impl<'a, C, A> ManagementProfileUserLinkUpdateCall<'a, C, A> where C: BorrowMut< /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7675,6 +7689,7 @@ impl<'a, C, A> ManagementFilterInsertCall<'a, C, A> where C: BorrowMut ManagementFilterInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7953,6 +7968,7 @@ impl<'a, C, A> ManagementAccountUserLinkUpdateCall<'a, C, A> where C: BorrowMut< /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_analytics3 as analytics3; /// # #[test] fn egal() { @@ -7962,9 +7978,9 @@ impl<'a, C, A> ManagementAccountUserLinkUpdateCall<'a, C, A> where C: BorrowMut< /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8224,6 +8240,7 @@ impl<'a, C, A> ManagementProfileFilterLinkGetCall<'a, C, A> where C: BorrowMut ManagementProfileFilterLinkGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8514,6 +8531,7 @@ impl<'a, C, A> ManagementWebpropertyUserLinkUpdateCall<'a, C, A> where C: Borrow /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_analytics3 as analytics3; /// use analytics3::UnsampledReport; @@ -8524,9 +8542,9 @@ impl<'a, C, A> ManagementWebpropertyUserLinkUpdateCall<'a, C, A> where C: Borrow /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8804,6 +8822,7 @@ impl<'a, C, A> ManagementUnsampledReportInsertCall<'a, C, A> where C: BorrowMut< /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_analytics3 as analytics3; /// # #[test] fn egal() { @@ -8813,9 +8832,9 @@ impl<'a, C, A> ManagementUnsampledReportInsertCall<'a, C, A> where C: BorrowMut< /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9064,6 +9083,7 @@ impl<'a, C, A> ManagementProfileFilterLinkDeleteCall<'a, C, A> where C: BorrowMu /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_analytics3 as analytics3; /// use analytics3::RemarketingAudience; @@ -9074,9 +9094,9 @@ impl<'a, C, A> ManagementProfileFilterLinkDeleteCall<'a, C, A> where C: BorrowMu /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9354,6 +9374,7 @@ impl<'a, C, A> ManagementRemarketingAudienceUpdateCall<'a, C, A> where C: Borrow /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_analytics3 as analytics3; /// # #[test] fn egal() { @@ -9363,9 +9384,9 @@ impl<'a, C, A> ManagementRemarketingAudienceUpdateCall<'a, C, A> where C: Borrow /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9613,6 +9634,7 @@ impl<'a, C, A> ManagementCustomMetricGetCall<'a, C, A> where C: BorrowMut ManagementCustomMetricGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9884,6 +9906,7 @@ impl<'a, C, A> ManagementUploadGetCall<'a, C, A> where C: BorrowMut ManagementUploadGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10186,6 +10209,7 @@ impl<'a, C, A> ManagementExperimentPatchCall<'a, C, A> where C: BorrowMut ManagementExperimentPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10457,6 +10481,7 @@ impl<'a, C, A> ManagementWebpropertyUserLinkListCall<'a, C, A> where C: BorrowMu /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_analytics3 as analytics3; /// use analytics3::ProfileFilterLink; @@ -10467,9 +10492,9 @@ impl<'a, C, A> ManagementWebpropertyUserLinkListCall<'a, C, A> where C: BorrowMu /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10759,6 +10784,7 @@ impl<'a, C, A> ManagementProfileFilterLinkUpdateCall<'a, C, A> where C: BorrowMu /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_analytics3 as analytics3; /// # #[test] fn egal() { @@ -10768,9 +10794,9 @@ impl<'a, C, A> ManagementProfileFilterLinkUpdateCall<'a, C, A> where C: BorrowMu /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11030,6 +11056,7 @@ impl<'a, C, A> ManagementExperimentGetCall<'a, C, A> where C: BorrowMut ManagementExperimentGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11332,6 +11359,7 @@ impl<'a, C, A> ManagementCustomDimensionUpdateCall<'a, C, A> where C: BorrowMut< /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_analytics3 as analytics3; /// # #[test] fn egal() { @@ -11341,9 +11369,9 @@ impl<'a, C, A> ManagementCustomDimensionUpdateCall<'a, C, A> where C: BorrowMut< /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11603,6 +11631,7 @@ impl<'a, C, A> ManagementUnsampledReportGetCall<'a, C, A> where C: BorrowMut ManagementUnsampledReportGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11893,6 +11922,7 @@ impl<'a, C, A> ManagementProfileFilterLinkInsertCall<'a, C, A> where C: BorrowMu /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_analytics3 as analytics3; /// use analytics3::Filter; @@ -11903,9 +11933,9 @@ impl<'a, C, A> ManagementProfileFilterLinkInsertCall<'a, C, A> where C: BorrowMu /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12171,6 +12201,7 @@ impl<'a, C, A> ManagementFilterUpdateCall<'a, C, A> where C: BorrowMut ManagementFilterUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `upload_resumable(...)`. /// // Values shown here are possibly random and not representative ! @@ -12539,6 +12570,7 @@ impl<'a, C, A> ManagementUploadUploadDataCall<'a, C, A> where C: BorrowMut ManagementUploadUploadDataCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12810,6 +12842,7 @@ impl<'a, C, A> ManagementWebPropertyAdWordsLinkListCall<'a, C, A> where C: Borro /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_analytics3 as analytics3; /// use analytics3::Experiment; @@ -12820,9 +12853,9 @@ impl<'a, C, A> ManagementWebPropertyAdWordsLinkListCall<'a, C, A> where C: Borro /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13100,6 +13133,7 @@ impl<'a, C, A> ManagementExperimentInsertCall<'a, C, A> where C: BorrowMut ManagementExperimentInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13326,6 +13360,7 @@ impl<'a, C, A> ManagementSegmentListCall<'a, C, A> where C: BorrowMut ManagementSegmentListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13574,6 +13609,7 @@ impl<'a, C, A> ManagementProfileDeleteCall<'a, C, A> where C: BorrowMut ManagementProfileDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13876,6 +13912,7 @@ impl<'a, C, A> ManagementGoalPatchCall<'a, C, A> where C: BorrowMut ManagementGoalPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14178,6 +14215,7 @@ impl<'a, C, A> ManagementCustomDimensionPatchCall<'a, C, A> where C: BorrowMut ManagementCustomDimensionPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14437,6 +14475,7 @@ impl<'a, C, A> ManagementWebPropertyAdWordsLinkGetCall<'a, C, A> where C: Borrow /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_analytics3 as analytics3; /// # #[test] fn egal() { @@ -14446,9 +14485,9 @@ impl<'a, C, A> ManagementWebPropertyAdWordsLinkGetCall<'a, C, A> where C: Borrow /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14720,6 +14759,7 @@ impl<'a, C, A> ManagementExperimentListCall<'a, C, A> where C: BorrowMut ManagementExperimentListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14991,6 +15031,7 @@ impl<'a, C, A> ManagementProfileListCall<'a, C, A> where C: BorrowMut ManagementProfileListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15274,6 +15315,7 @@ impl<'a, C, A> ManagementGoalListCall<'a, C, A> where C: BorrowMut ManagementGoalListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15564,6 +15606,7 @@ impl<'a, C, A> ManagementGoalInsertCall<'a, C, A> where C: BorrowMut ManagementGoalInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15866,6 +15909,7 @@ impl<'a, C, A> ManagementCustomMetricPatchCall<'a, C, A> where C: BorrowMut ManagementCustomMetricPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16149,6 +16193,7 @@ impl<'a, C, A> ManagementProfileFilterLinkListCall<'a, C, A> where C: BorrowMut< /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_analytics3 as analytics3; /// use analytics3::EntityUserLink; @@ -16159,9 +16204,9 @@ impl<'a, C, A> ManagementProfileFilterLinkListCall<'a, C, A> where C: BorrowMut< /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16415,6 +16460,7 @@ impl<'a, C, A> ManagementAccountUserLinkInsertCall<'a, C, A> where C: BorrowMut< /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_analytics3 as analytics3; /// use analytics3::EntityUserLink; @@ -16425,9 +16471,9 @@ impl<'a, C, A> ManagementAccountUserLinkInsertCall<'a, C, A> where C: BorrowMut< /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16693,6 +16739,7 @@ impl<'a, C, A> ManagementWebpropertyUserLinkInsertCall<'a, C, A> where C: Borrow /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_analytics3 as analytics3; /// use analytics3::CustomMetric; @@ -16703,9 +16750,9 @@ impl<'a, C, A> ManagementWebpropertyUserLinkInsertCall<'a, C, A> where C: Borrow /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16971,6 +17018,7 @@ impl<'a, C, A> ManagementCustomMetricInsertCall<'a, C, A> where C: BorrowMut ManagementCustomMetricInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17231,6 +17279,7 @@ impl<'a, C, A> ManagementUnsampledReportDeleteCall<'a, C, A> where C: BorrowMut< /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_analytics3 as analytics3; /// use analytics3::Profile; @@ -17241,9 +17290,9 @@ impl<'a, C, A> ManagementUnsampledReportDeleteCall<'a, C, A> where C: BorrowMut< /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17521,6 +17570,7 @@ impl<'a, C, A> ManagementProfilePatchCall<'a, C, A> where C: BorrowMut ManagementProfilePatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17768,6 +17818,7 @@ impl<'a, C, A> ManagementFilterGetCall<'a, C, A> where C: BorrowMut ManagementFilterGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17994,6 +18045,7 @@ impl<'a, C, A> ManagementAccountSummaryListCall<'a, C, A> where C: BorrowMut ManagementAccountSummaryListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18265,6 +18317,7 @@ impl<'a, C, A> ManagementCustomDimensionListCall<'a, C, A> where C: BorrowMut ManagementCustomDimensionListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18543,6 +18596,7 @@ impl<'a, C, A> ManagementWebpropertyPatchCall<'a, C, A> where C: BorrowMut ManagementWebpropertyPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18826,6 +18880,7 @@ impl<'a, C, A> ManagementUploadListCall<'a, C, A> where C: BorrowMut ManagementUploadListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19109,6 +19164,7 @@ impl<'a, C, A> ManagementProfileUserLinkListCall<'a, C, A> where C: BorrowMut ManagementProfileUserLinkListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19387,6 +19443,7 @@ impl<'a, C, A> ManagementRemarketingAudienceInsertCall<'a, C, A> where C: Borrow /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_analytics3 as analytics3; /// # #[test] fn egal() { @@ -19396,9 +19453,9 @@ impl<'a, C, A> ManagementRemarketingAudienceInsertCall<'a, C, A> where C: Borrow /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19635,6 +19692,7 @@ impl<'a, C, A> ManagementWebPropertyAdWordsLinkDeleteCall<'a, C, A> where C: Bor /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_analytics3 as analytics3; /// use analytics3::AnalyticsDataimportDeleteUploadDataRequest; @@ -19645,9 +19703,9 @@ impl<'a, C, A> ManagementWebPropertyAdWordsLinkDeleteCall<'a, C, A> where C: Bor /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19914,6 +19972,7 @@ impl<'a, C, A> ManagementUploadDeleteUploadDataCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_analytics3 as analytics3; /// use analytics3::EntityAdWordsLink; @@ -19924,9 +19983,9 @@ impl<'a, C, A> ManagementUploadDeleteUploadDataCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20192,6 +20251,7 @@ impl<'a, C, A> ManagementWebPropertyAdWordsLinkInsertCall<'a, C, A> where C: Bor /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_analytics3 as analytics3; /// # #[test] fn egal() { @@ -20201,9 +20261,9 @@ impl<'a, C, A> ManagementWebPropertyAdWordsLinkInsertCall<'a, C, A> where C: Bor /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20452,6 +20512,7 @@ impl<'a, C, A> ManagementExperimentDeleteCall<'a, C, A> where C: BorrowMut ManagementExperimentDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20754,6 +20815,7 @@ impl<'a, C, A> ManagementGoalUpdateCall<'a, C, A> where C: BorrowMut ManagementGoalUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21025,6 +21087,7 @@ impl<'a, C, A> ManagementCustomDataSourceListCall<'a, C, A> where C: BorrowMut ManagementCustomDataSourceListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21296,6 +21359,7 @@ impl<'a, C, A> ManagementCustomMetricListCall<'a, C, A> where C: BorrowMut ManagementCustomMetricListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21579,6 +21643,7 @@ impl<'a, C, A> ManagementUnsampledReportListCall<'a, C, A> where C: BorrowMut ManagementUnsampledReportListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21826,6 +21891,7 @@ impl<'a, C, A> ManagementWebpropertyGetCall<'a, C, A> where C: BorrowMut ManagementWebpropertyGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -22116,6 +22182,7 @@ impl<'a, C, A> ManagementProfileUpdateCall<'a, C, A> where C: BorrowMut ManagementProfileUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22375,6 +22442,7 @@ impl<'a, C, A> ManagementCustomDimensionGetCall<'a, C, A> where C: BorrowMut ManagementCustomDimensionGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22634,6 +22702,7 @@ impl<'a, C, A> ManagementRemarketingAudienceGetCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_analytics3 as analytics3; /// # #[test] fn egal() { @@ -22643,9 +22712,9 @@ impl<'a, C, A> ManagementRemarketingAudienceGetCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22882,6 +22951,7 @@ impl<'a, C, A> ManagementRemarketingAudienceDeleteCall<'a, C, A> where C: Borrow /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_analytics3 as analytics3; /// use analytics3::Webproperty; @@ -22892,9 +22962,9 @@ impl<'a, C, A> ManagementRemarketingAudienceDeleteCall<'a, C, A> where C: Borrow /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23160,6 +23230,7 @@ impl<'a, C, A> ManagementWebpropertyUpdateCall<'a, C, A> where C: BorrowMut ManagementWebpropertyUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23438,6 +23509,7 @@ impl<'a, C, A> ManagementCustomDimensionInsertCall<'a, C, A> where C: BorrowMut< /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_analytics3 as analytics3; /// # #[test] fn egal() { @@ -23447,9 +23519,9 @@ impl<'a, C, A> ManagementCustomDimensionInsertCall<'a, C, A> where C: BorrowMut< /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23674,6 +23746,7 @@ impl<'a, C, A> ManagementAccountUserLinkDeleteCall<'a, C, A> where C: BorrowMut< /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_analytics3 as analytics3; /// use analytics3::EntityUserLink; @@ -23684,9 +23757,9 @@ impl<'a, C, A> ManagementAccountUserLinkDeleteCall<'a, C, A> where C: BorrowMut< /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23964,6 +24037,7 @@ impl<'a, C, A> ManagementProfileUserLinkInsertCall<'a, C, A> where C: BorrowMut< /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_analytics3 as analytics3; /// use analytics3::Experiment; @@ -23974,9 +24048,9 @@ impl<'a, C, A> ManagementProfileUserLinkInsertCall<'a, C, A> where C: BorrowMut< /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24266,6 +24340,7 @@ impl<'a, C, A> ManagementExperimentUpdateCall<'a, C, A> where C: BorrowMut ManagementExperimentUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -24525,6 +24600,7 @@ impl<'a, C, A> ManagementWebpropertyListCall<'a, C, A> where C: BorrowMut ManagementWebpropertyListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24815,6 +24891,7 @@ impl<'a, C, A> ManagementWebPropertyAdWordsLinkPatchCall<'a, C, A> where C: Borr /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_analytics3 as analytics3; /// # #[test] fn egal() { @@ -24824,9 +24901,9 @@ impl<'a, C, A> ManagementWebPropertyAdWordsLinkPatchCall<'a, C, A> where C: Borr /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25086,6 +25163,7 @@ impl<'a, C, A> ManagementGoalGetCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_analytics3 as analytics3; /// use analytics3::CustomMetric; @@ -25096,9 +25174,9 @@ impl<'a, C, A> ManagementGoalGetCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -25388,6 +25466,7 @@ impl<'a, C, A> ManagementCustomMetricUpdateCall<'a, C, A> where C: BorrowMut ManagementCustomMetricUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -25678,6 +25757,7 @@ impl<'a, C, A> ManagementRemarketingAudiencePatchCall<'a, C, A> where C: BorrowM /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_analytics3 as analytics3; /// use analytics3::EntityAdWordsLink; @@ -25688,9 +25768,9 @@ impl<'a, C, A> ManagementRemarketingAudiencePatchCall<'a, C, A> where C: BorrowM /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -25968,6 +26048,7 @@ impl<'a, C, A> ManagementWebPropertyAdWordsLinkUpdateCall<'a, C, A> where C: Bor /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_analytics3 as analytics3; /// use analytics3::Filter; @@ -25978,9 +26059,9 @@ impl<'a, C, A> ManagementWebPropertyAdWordsLinkUpdateCall<'a, C, A> where C: Bor /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -26246,6 +26327,7 @@ impl<'a, C, A> ManagementFilterPatchCall<'a, C, A> where C: BorrowMut ManagementFilterPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -26505,6 +26587,7 @@ impl<'a, C, A> ManagementFilterListCall<'a, C, A> where C: BorrowMut ManagementFilterListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -26752,6 +26835,7 @@ impl<'a, C, A> ManagementFilterDeleteCall<'a, C, A> where C: BorrowMut ManagementFilterDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -27030,6 +27114,7 @@ impl<'a, C, A> ManagementProfileInsertCall<'a, C, A> where C: BorrowMut ManagementProfileInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -27289,6 +27374,7 @@ impl<'a, C, A> ManagementAccountUserLinkListCall<'a, C, A> where C: BorrowMut ManagementAccountUserLinkListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -27571,6 +27657,7 @@ impl<'a, C, A> ManagementRemarketingAudienceListCall<'a, C, A> where C: BorrowMu /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_analytics3 as analytics3; /// # #[test] fn egal() { @@ -27580,9 +27667,9 @@ impl<'a, C, A> ManagementRemarketingAudienceListCall<'a, C, A> where C: BorrowMu /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -27893,6 +27980,7 @@ impl<'a, C, A> DataMcfGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_analytics3 as analytics3; /// # #[test] fn egal() { @@ -27902,9 +27990,9 @@ impl<'a, C, A> DataMcfGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -28251,6 +28339,7 @@ impl<'a, C, A> DataGaGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_analytics3 as analytics3; /// # #[test] fn egal() { @@ -28260,9 +28349,9 @@ impl<'a, C, A> DataGaGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -28525,6 +28614,7 @@ impl<'a, C, A> DataRealtimeGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_analytics3 as analytics3; /// use analytics3::AccountTicket; @@ -28535,9 +28625,9 @@ impl<'a, C, A> DataRealtimeGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -28758,6 +28848,7 @@ impl<'a, C, A> ProvisioningCreateAccountTicketCall<'a, C, A> where C: BorrowMut< /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_analytics3 as analytics3; /// # #[test] fn egal() { @@ -28767,9 +28858,9 @@ impl<'a, C, A> ProvisioningCreateAccountTicketCall<'a, C, A> where C: BorrowMut< /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Analytics::new(hyper::Client::new(), auth); +/// # let mut hub = Analytics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/androidenterprise1-cli/Cargo.toml b/gen/androidenterprise1-cli/Cargo.toml index 5bd325917e..221d27d930 100644 --- a/gen/androidenterprise1-cli/Cargo.toml +++ b/gen/androidenterprise1-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["androidenterprise", "google", "cli"] [[bin]] name = "androidenterprise1" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/androidenterprise1/Cargo.toml b/gen/androidenterprise1/Cargo.toml index 2501ce0901..1252c1929b 100644 --- a/gen/androidenterprise1/Cargo.toml +++ b/gen/androidenterprise1/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["androidenterprise", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/androidenterprise1/README.md b/gen/androidenterprise1/README.md index 5249e26bc5..52fddcd2da 100644 --- a/gen/androidenterprise1/README.md +++ b/gen/androidenterprise1/README.md @@ -111,6 +111,7 @@ google-androidenterprise1 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_androidenterprise1 as androidenterprise1; use androidenterprise1::{Result, Error}; @@ -127,9 +128,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! diff --git a/gen/androidenterprise1/src/lib.rs b/gen/androidenterprise1/src/lib.rs index 6317b5daec..0a92ca0d88 100644 --- a/gen/androidenterprise1/src/lib.rs +++ b/gen/androidenterprise1/src/lib.rs @@ -111,6 +111,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_androidenterprise1 as androidenterprise1; //! use androidenterprise1::{Result, Error}; @@ -128,9 +129,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +//! let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! @@ -290,6 +291,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_androidenterprise1 as androidenterprise1; /// use androidenterprise1::{Result, Error}; @@ -307,9 +309,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1923,6 +1925,7 @@ impl Part for ApprovalUrlInfo {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_androidenterprise1 as androidenterprise1; /// @@ -1933,9 +1936,9 @@ impl Part for ApprovalUrlInfo {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -2080,6 +2083,7 @@ impl<'a, C, A> StorelayoutpageMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_androidenterprise1 as androidenterprise1; /// @@ -2090,9 +2094,9 @@ impl<'a, C, A> StorelayoutpageMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `generate_authentication_token(...)`, `generate_token(...)`, `get(...)`, `get_available_product_set(...)`, `insert(...)`, `list(...)`, `patch(...)`, `revoke_token(...)`, `set_available_product_set(...)` and `update(...)` /// // to build up your call. @@ -2347,6 +2351,7 @@ impl<'a, C, A> UserMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_androidenterprise1 as androidenterprise1; /// @@ -2357,9 +2362,9 @@ impl<'a, C, A> UserMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -2505,6 +2510,7 @@ impl<'a, C, A> InstallMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_androidenterprise1 as androidenterprise1; /// @@ -2515,9 +2521,9 @@ impl<'a, C, A> InstallMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -2582,6 +2588,7 @@ impl<'a, C, A> GrouplicenseMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_androidenterprise1 as androidenterprise1; /// @@ -2592,9 +2599,9 @@ impl<'a, C, A> GrouplicenseMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -2740,6 +2747,7 @@ impl<'a, C, A> ManagedconfigurationsfordeviceMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_androidenterprise1 as androidenterprise1; /// @@ -2750,9 +2758,9 @@ impl<'a, C, A> ManagedconfigurationsfordeviceMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `get_state(...)`, `list(...)` and `set_state(...)` /// // to build up your call. @@ -2865,6 +2873,7 @@ impl<'a, C, A> DeviceMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_androidenterprise1 as androidenterprise1; /// @@ -2875,9 +2884,9 @@ impl<'a, C, A> DeviceMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `acknowledge_notification_set(...)`, `complete_signup(...)`, `create_web_token(...)`, `delete(...)`, `enroll(...)`, `generate_signup_url(...)`, `get(...)`, `get_service_account(...)`, `get_store_layout(...)`, `insert(...)`, `list(...)`, `pull_notification_set(...)`, `send_test_push_notification(...)`, `set_account(...)`, `set_store_layout(...)` and `unenroll(...)` /// // to build up your call. @@ -3184,6 +3193,7 @@ impl<'a, C, A> EnterpriseMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_androidenterprise1 as androidenterprise1; /// @@ -3194,9 +3204,9 @@ impl<'a, C, A> EnterpriseMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -3353,6 +3363,7 @@ impl<'a, C, A> StorelayoutclusterMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_androidenterprise1 as androidenterprise1; /// @@ -3363,9 +3374,9 @@ impl<'a, C, A> StorelayoutclusterMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `approve(...)`, `generate_approval_url(...)`, `get(...)`, `get_app_restrictions_schema(...)`, `get_permissions(...)`, `list(...)` and `unapprove(...)` /// // to build up your call. @@ -3539,6 +3550,7 @@ impl<'a, C, A> ProductMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_androidenterprise1 as androidenterprise1; /// @@ -3549,9 +3561,9 @@ impl<'a, C, A> ProductMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -3687,6 +3699,7 @@ impl<'a, C, A> ManagedconfigurationsforuserMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_androidenterprise1 as androidenterprise1; /// @@ -3697,9 +3710,9 @@ impl<'a, C, A> ManagedconfigurationsforuserMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -3747,6 +3760,7 @@ impl<'a, C, A> GrouplicenseuserMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_androidenterprise1 as androidenterprise1; /// @@ -3757,9 +3771,9 @@ impl<'a, C, A> GrouplicenseuserMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -3897,6 +3911,7 @@ impl<'a, C, A> EntitlementMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_androidenterprise1 as androidenterprise1; /// @@ -3907,9 +3922,9 @@ impl<'a, C, A> EntitlementMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -3995,6 +4010,7 @@ impl<'a, C, A> ServiceaccountkeyMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_androidenterprise1 as androidenterprise1; /// @@ -4005,9 +4021,9 @@ impl<'a, C, A> ServiceaccountkeyMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -4062,6 +4078,7 @@ impl<'a, C, A> PermissionMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidenterprise1 as androidenterprise1; /// # #[test] fn egal() { @@ -4071,9 +4088,9 @@ impl<'a, C, A> PermissionMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4297,6 +4314,7 @@ impl<'a, C, A> StorelayoutpageListCall<'a, C, A> where C: BorrowMut StorelayoutpageListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4544,6 +4562,7 @@ impl<'a, C, A> StorelayoutpageGetCall<'a, C, A> where C: BorrowMut StorelayoutpageGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4822,6 +4841,7 @@ impl<'a, C, A> StorelayoutpageUpdateCall<'a, C, A> where C: BorrowMut StorelayoutpageUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5088,6 +5108,7 @@ impl<'a, C, A> StorelayoutpageInsertCall<'a, C, A> where C: BorrowMut StorelayoutpageInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5366,6 +5387,7 @@ impl<'a, C, A> StorelayoutpagePatchCall<'a, C, A> where C: BorrowMut StorelayoutpagePatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5602,6 +5624,7 @@ impl<'a, C, A> StorelayoutpageDeleteCall<'a, C, A> where C: BorrowMut StorelayoutpageDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5840,6 +5863,7 @@ impl<'a, C, A> UserRevokeTokenCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidenterprise1 as androidenterprise1; /// use androidenterprise1::User; @@ -5850,9 +5874,9 @@ impl<'a, C, A> UserRevokeTokenCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6118,6 +6142,7 @@ impl<'a, C, A> UserUpdateCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidenterprise1 as androidenterprise1; /// # #[test] fn egal() { @@ -6127,9 +6152,9 @@ impl<'a, C, A> UserUpdateCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6365,6 +6390,7 @@ impl<'a, C, A> UserGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidenterprise1 as androidenterprise1; /// # #[test] fn egal() { @@ -6374,9 +6400,9 @@ impl<'a, C, A> UserGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6603,6 +6629,7 @@ impl<'a, C, A> UserDeleteCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidenterprise1 as androidenterprise1; /// # #[test] fn egal() { @@ -6612,9 +6639,9 @@ impl<'a, C, A> UserDeleteCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6850,6 +6877,7 @@ impl<'a, C, A> UserGenerateAuthenticationTokenCall<'a, C, A> where C: BorrowMut< /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidenterprise1 as androidenterprise1; /// # #[test] fn egal() { @@ -6859,9 +6887,9 @@ impl<'a, C, A> UserGenerateAuthenticationTokenCall<'a, C, A> where C: BorrowMut< /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7099,6 +7127,7 @@ impl<'a, C, A> UserListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidenterprise1 as androidenterprise1; /// use androidenterprise1::User; @@ -7109,9 +7138,9 @@ impl<'a, C, A> UserListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7380,6 +7409,7 @@ impl<'a, C, A> UserPatchCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidenterprise1 as androidenterprise1; /// use androidenterprise1::User; @@ -7390,9 +7420,9 @@ impl<'a, C, A> UserPatchCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7648,6 +7678,7 @@ impl<'a, C, A> UserInsertCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidenterprise1 as androidenterprise1; /// # #[test] fn egal() { @@ -7657,9 +7688,9 @@ impl<'a, C, A> UserInsertCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7895,6 +7926,7 @@ impl<'a, C, A> UserGenerateTokenCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidenterprise1 as androidenterprise1; /// use androidenterprise1::ProductSet; @@ -7905,9 +7937,9 @@ impl<'a, C, A> UserGenerateTokenCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8173,6 +8205,7 @@ impl<'a, C, A> UserSetAvailableProductSetCall<'a, C, A> where C: BorrowMut UserSetAvailableProductSetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8420,6 +8453,7 @@ impl<'a, C, A> UserGetAvailableProductSetCall<'a, C, A> where C: BorrowMut UserGetAvailableProductSetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8722,6 +8756,7 @@ impl<'a, C, A> InstallPatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidenterprise1 as androidenterprise1; /// # #[test] fn egal() { @@ -8731,9 +8766,9 @@ impl<'a, C, A> InstallPatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8993,6 +9028,7 @@ impl<'a, C, A> InstallGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidenterprise1 as androidenterprise1; /// # #[test] fn egal() { @@ -9002,9 +9038,9 @@ impl<'a, C, A> InstallGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9252,6 +9288,7 @@ impl<'a, C, A> InstallListCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidenterprise1 as androidenterprise1; /// # #[test] fn egal() { @@ -9261,9 +9298,9 @@ impl<'a, C, A> InstallListCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9512,6 +9549,7 @@ impl<'a, C, A> InstallDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidenterprise1 as androidenterprise1; /// use androidenterprise1::Install; @@ -9522,9 +9560,9 @@ impl<'a, C, A> InstallDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9814,6 +9852,7 @@ impl<'a, C, A> InstallUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidenterprise1 as androidenterprise1; /// # #[test] fn egal() { @@ -9823,9 +9862,9 @@ impl<'a, C, A> InstallUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10061,6 +10100,7 @@ impl<'a, C, A> GrouplicenseGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidenterprise1 as androidenterprise1; /// # #[test] fn egal() { @@ -10070,9 +10110,9 @@ impl<'a, C, A> GrouplicenseGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10296,6 +10336,7 @@ impl<'a, C, A> GrouplicenseListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidenterprise1 as androidenterprise1; /// # #[test] fn egal() { @@ -10305,9 +10346,9 @@ impl<'a, C, A> GrouplicenseListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10556,6 +10597,7 @@ impl<'a, C, A> ManagedconfigurationsfordeviceDeleteCall<'a, C, A> where C: Borro /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidenterprise1 as androidenterprise1; /// # #[test] fn egal() { @@ -10565,9 +10607,9 @@ impl<'a, C, A> ManagedconfigurationsfordeviceDeleteCall<'a, C, A> where C: Borro /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10815,6 +10857,7 @@ impl<'a, C, A> ManagedconfigurationsfordeviceListCall<'a, C, A> where C: BorrowM /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidenterprise1 as androidenterprise1; /// use androidenterprise1::ManagedConfiguration; @@ -10825,9 +10868,9 @@ impl<'a, C, A> ManagedconfigurationsfordeviceListCall<'a, C, A> where C: BorrowM /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11117,6 +11160,7 @@ impl<'a, C, A> ManagedconfigurationsfordeviceUpdateCall<'a, C, A> where C: Borro /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidenterprise1 as androidenterprise1; /// # #[test] fn egal() { @@ -11126,9 +11170,9 @@ impl<'a, C, A> ManagedconfigurationsfordeviceUpdateCall<'a, C, A> where C: Borro /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11388,6 +11432,7 @@ impl<'a, C, A> ManagedconfigurationsfordeviceGetCall<'a, C, A> where C: BorrowMu /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidenterprise1 as androidenterprise1; /// use androidenterprise1::ManagedConfiguration; @@ -11398,9 +11443,9 @@ impl<'a, C, A> ManagedconfigurationsfordeviceGetCall<'a, C, A> where C: BorrowMu /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11690,6 +11735,7 @@ impl<'a, C, A> ManagedconfigurationsfordevicePatchCall<'a, C, A> where C: Borrow /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidenterprise1 as androidenterprise1; /// use androidenterprise1::DeviceState; @@ -11700,9 +11746,9 @@ impl<'a, C, A> ManagedconfigurationsfordevicePatchCall<'a, C, A> where C: Borrow /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11980,6 +12026,7 @@ impl<'a, C, A> DeviceSetStateCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidenterprise1 as androidenterprise1; /// # #[test] fn egal() { @@ -11989,9 +12036,9 @@ impl<'a, C, A> DeviceSetStateCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12239,6 +12286,7 @@ impl<'a, C, A> DeviceGetStateCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidenterprise1 as androidenterprise1; /// # #[test] fn egal() { @@ -12248,9 +12296,9 @@ impl<'a, C, A> DeviceGetStateCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12486,6 +12534,7 @@ impl<'a, C, A> DeviceListCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidenterprise1 as androidenterprise1; /// # #[test] fn egal() { @@ -12495,9 +12544,9 @@ impl<'a, C, A> DeviceListCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12745,6 +12794,7 @@ impl<'a, C, A> DeviceGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidenterprise1 as androidenterprise1; /// # #[test] fn egal() { @@ -12754,9 +12804,9 @@ impl<'a, C, A> DeviceGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12948,6 +12998,7 @@ impl<'a, C, A> EnterpriseAcknowledgeNotificationSetCall<'a, C, A> where C: Borro /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidenterprise1 as androidenterprise1; /// # #[test] fn egal() { @@ -12957,9 +13008,9 @@ impl<'a, C, A> EnterpriseAcknowledgeNotificationSetCall<'a, C, A> where C: Borro /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13172,6 +13223,7 @@ impl<'a, C, A> EnterpriseUnenrollCall<'a, C, A> where C: BorrowMut EnterpriseUnenrollCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13417,6 +13469,7 @@ impl<'a, C, A> EnterpriseInsertCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidenterprise1 as androidenterprise1; /// # #[test] fn egal() { @@ -13426,9 +13479,9 @@ impl<'a, C, A> EnterpriseInsertCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13652,6 +13705,7 @@ impl<'a, C, A> EnterpriseSendTestPushNotificationCall<'a, C, A> where C: BorrowM /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidenterprise1 as androidenterprise1; /// # #[test] fn egal() { @@ -13661,9 +13715,9 @@ impl<'a, C, A> EnterpriseSendTestPushNotificationCall<'a, C, A> where C: BorrowM /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13866,6 +13920,7 @@ impl<'a, C, A> EnterpriseListCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidenterprise1 as androidenterprise1; /// # #[test] fn egal() { @@ -13875,9 +13930,9 @@ impl<'a, C, A> EnterpriseListCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14101,6 +14156,7 @@ impl<'a, C, A> EnterpriseGetStoreLayoutCall<'a, C, A> where C: BorrowMut EnterpriseGetStoreLayoutCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14367,6 +14423,7 @@ impl<'a, C, A> EnterpriseSetStoreLayoutCall<'a, C, A> where C: BorrowMut EnterpriseSetStoreLayoutCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14597,6 +14654,7 @@ impl<'a, C, A> EnterpriseCompleteSignupCall<'a, C, A> where C: BorrowMut EnterpriseCompleteSignupCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14814,6 +14872,7 @@ impl<'a, C, A> EnterprisePullNotificationSetCall<'a, C, A> where C: BorrowMut EnterprisePullNotificationSetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15059,6 +15118,7 @@ impl<'a, C, A> EnterpriseEnrollCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidenterprise1 as androidenterprise1; /// # #[test] fn egal() { @@ -15068,9 +15128,9 @@ impl<'a, C, A> EnterpriseEnrollCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15300,6 +15360,7 @@ impl<'a, C, A> EnterpriseGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidenterprise1 as androidenterprise1; /// # #[test] fn egal() { @@ -15309,9 +15370,9 @@ impl<'a, C, A> EnterpriseGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15547,6 +15608,7 @@ impl<'a, C, A> EnterpriseGetServiceAccountCall<'a, C, A> where C: BorrowMut EnterpriseGetServiceAccountCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15813,6 +15875,7 @@ impl<'a, C, A> EnterpriseSetAccountCall<'a, C, A> where C: BorrowMut EnterpriseSetAccountCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16037,6 +16100,7 @@ impl<'a, C, A> EnterpriseDeleteCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidenterprise1 as androidenterprise1; /// # #[test] fn egal() { @@ -16046,9 +16110,9 @@ impl<'a, C, A> EnterpriseDeleteCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16252,6 +16316,7 @@ impl<'a, C, A> EnterpriseGenerateSignupUrlCall<'a, C, A> where C: BorrowMut EnterpriseGenerateSignupUrlCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16518,6 +16583,7 @@ impl<'a, C, A> EnterpriseCreateWebTokenCall<'a, C, A> where C: BorrowMut EnterpriseCreateWebTokenCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16808,6 +16874,7 @@ impl<'a, C, A> StorelayoutclusterPatchCall<'a, C, A> where C: BorrowMut StorelayoutclusterPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17056,6 +17123,7 @@ impl<'a, C, A> StorelayoutclusterDeleteCall<'a, C, A> where C: BorrowMut StorelayoutclusterDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17334,6 +17402,7 @@ impl<'a, C, A> StorelayoutclusterInsertCall<'a, C, A> where C: BorrowMut StorelayoutclusterInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17581,6 +17650,7 @@ impl<'a, C, A> StorelayoutclusterListCall<'a, C, A> where C: BorrowMut StorelayoutclusterListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17871,6 +17941,7 @@ impl<'a, C, A> StorelayoutclusterUpdateCall<'a, C, A> where C: BorrowMut StorelayoutclusterUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18130,6 +18201,7 @@ impl<'a, C, A> StorelayoutclusterGetCall<'a, C, A> where C: BorrowMut StorelayoutclusterGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18377,6 +18449,7 @@ impl<'a, C, A> ProductGetPermissionCall<'a, C, A> where C: BorrowMut ProductGetPermissionCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18615,6 +18688,7 @@ impl<'a, C, A> ProductUnapproveCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidenterprise1 as androidenterprise1; /// # #[test] fn egal() { @@ -18624,9 +18698,9 @@ impl<'a, C, A> ProductUnapproveCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18874,6 +18948,7 @@ impl<'a, C, A> ProductGenerateApprovalUrlCall<'a, C, A> where C: BorrowMut ProductGenerateApprovalUrlCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19135,6 +19210,7 @@ impl<'a, C, A> ProductGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidenterprise1 as androidenterprise1; /// use androidenterprise1::ProductsApproveRequest; @@ -19145,9 +19221,9 @@ impl<'a, C, A> ProductGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19402,6 +19478,7 @@ impl<'a, C, A> ProductApproveCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidenterprise1 as androidenterprise1; /// # #[test] fn egal() { @@ -19411,9 +19488,9 @@ impl<'a, C, A> ProductApproveCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19661,6 +19738,7 @@ impl<'a, C, A> ProductGetAppRestrictionsSchemaCall<'a, C, A> where C: BorrowMut< /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidenterprise1 as androidenterprise1; /// # #[test] fn egal() { @@ -19670,9 +19748,9 @@ impl<'a, C, A> ProductGetAppRestrictionsSchemaCall<'a, C, A> where C: BorrowMut< /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19956,6 +20034,7 @@ impl<'a, C, A> ProductListCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidenterprise1 as androidenterprise1; /// use androidenterprise1::ManagedConfiguration; @@ -19966,9 +20045,9 @@ impl<'a, C, A> ProductListCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20246,6 +20325,7 @@ impl<'a, C, A> ManagedconfigurationsforuserPatchCall<'a, C, A> where C: BorrowMu /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidenterprise1 as androidenterprise1; /// # #[test] fn egal() { @@ -20255,9 +20335,9 @@ impl<'a, C, A> ManagedconfigurationsforuserPatchCall<'a, C, A> where C: BorrowMu /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20494,6 +20574,7 @@ impl<'a, C, A> ManagedconfigurationsforuserDeleteCall<'a, C, A> where C: BorrowM /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidenterprise1 as androidenterprise1; /// # #[test] fn egal() { @@ -20503,9 +20584,9 @@ impl<'a, C, A> ManagedconfigurationsforuserDeleteCall<'a, C, A> where C: BorrowM /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20741,6 +20822,7 @@ impl<'a, C, A> ManagedconfigurationsforuserListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidenterprise1 as androidenterprise1; /// use androidenterprise1::ManagedConfiguration; @@ -20751,9 +20833,9 @@ impl<'a, C, A> ManagedconfigurationsforuserListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21031,6 +21113,7 @@ impl<'a, C, A> ManagedconfigurationsforuserUpdateCall<'a, C, A> where C: BorrowM /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidenterprise1 as androidenterprise1; /// # #[test] fn egal() { @@ -21040,9 +21123,9 @@ impl<'a, C, A> ManagedconfigurationsforuserUpdateCall<'a, C, A> where C: BorrowM /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21290,6 +21373,7 @@ impl<'a, C, A> ManagedconfigurationsforuserGetCall<'a, C, A> where C: BorrowMut< /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidenterprise1 as androidenterprise1; /// # #[test] fn egal() { @@ -21299,9 +21383,9 @@ impl<'a, C, A> ManagedconfigurationsforuserGetCall<'a, C, A> where C: BorrowMut< /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21537,6 +21621,7 @@ impl<'a, C, A> GrouplicenseuserListCall<'a, C, A> where C: BorrowMut GrouplicenseuserListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21785,6 +21870,7 @@ impl<'a, C, A> EntitlementDeleteCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidenterprise1 as androidenterprise1; /// use androidenterprise1::Entitlement; @@ -21795,9 +21881,9 @@ impl<'a, C, A> EntitlementDeleteCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -22087,6 +22173,7 @@ impl<'a, C, A> EntitlementUpdateCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidenterprise1 as androidenterprise1; /// # #[test] fn egal() { @@ -22096,9 +22183,9 @@ impl<'a, C, A> EntitlementUpdateCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22346,6 +22433,7 @@ impl<'a, C, A> EntitlementGetCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidenterprise1 as androidenterprise1; /// # #[test] fn egal() { @@ -22355,9 +22443,9 @@ impl<'a, C, A> EntitlementGetCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22593,6 +22681,7 @@ impl<'a, C, A> EntitlementListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidenterprise1 as androidenterprise1; /// use androidenterprise1::Entitlement; @@ -22603,9 +22692,9 @@ impl<'a, C, A> EntitlementListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -22897,6 +22986,7 @@ impl<'a, C, A> EntitlementPatchCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidenterprise1 as androidenterprise1; /// use androidenterprise1::ServiceAccountKey; @@ -22907,9 +22997,9 @@ impl<'a, C, A> EntitlementPatchCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23163,6 +23253,7 @@ impl<'a, C, A> ServiceaccountkeyInsertCall<'a, C, A> where C: BorrowMut ServiceaccountkeyInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23398,6 +23489,7 @@ impl<'a, C, A> ServiceaccountkeyListCall<'a, C, A> where C: BorrowMut ServiceaccountkeyListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23634,6 +23726,7 @@ impl<'a, C, A> ServiceaccountkeyDeleteCall<'a, C, A> where C: BorrowMut ServiceaccountkeyDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/androidpublisher2-cli/Cargo.toml b/gen/androidpublisher2-cli/Cargo.toml index ad179c9f07..f124d0843a 100644 --- a/gen/androidpublisher2-cli/Cargo.toml +++ b/gen/androidpublisher2-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["androidpublisher", "google", "cli"] [[bin]] name = "androidpublisher2" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/androidpublisher2/Cargo.toml b/gen/androidpublisher2/Cargo.toml index 18fe878dd3..9aa644b6e9 100644 --- a/gen/androidpublisher2/Cargo.toml +++ b/gen/androidpublisher2/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["androidpublisher", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/androidpublisher2/README.md b/gen/androidpublisher2/README.md index 0587500a31..e10975120e 100644 --- a/gen/androidpublisher2/README.md +++ b/gen/androidpublisher2/README.md @@ -88,6 +88,7 @@ google-androidpublisher2 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_androidpublisher2 as androidpublisher2; use androidpublisher2::InAppProduct; @@ -105,9 +106,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! diff --git a/gen/androidpublisher2/src/lib.rs b/gen/androidpublisher2/src/lib.rs index 582df38857..ee7b35a48f 100644 --- a/gen/androidpublisher2/src/lib.rs +++ b/gen/androidpublisher2/src/lib.rs @@ -88,6 +88,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_androidpublisher2 as androidpublisher2; //! use androidpublisher2::InAppProduct; @@ -106,9 +107,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +//! let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! @@ -273,6 +274,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_androidpublisher2 as androidpublisher2; /// use androidpublisher2::InAppProduct; @@ -291,9 +293,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1742,6 +1744,7 @@ impl ResponseResult for ListingsListResponse {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_androidpublisher2 as androidpublisher2; /// @@ -1752,9 +1755,9 @@ impl ResponseResult for ListingsListResponse {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -1803,6 +1806,7 @@ impl<'a, C, A> EntitlementMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_androidpublisher2 as androidpublisher2; /// @@ -1813,9 +1817,9 @@ impl<'a, C, A> EntitlementMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `products_get(...)`, `subscriptions_cancel(...)`, `subscriptions_defer(...)`, `subscriptions_get(...)`, `subscriptions_refund(...)`, `subscriptions_revoke(...)` and `voidedpurchases_list(...)` /// // to build up your call. @@ -1994,6 +1998,7 @@ impl<'a, C, A> PurchaseMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_androidpublisher2 as androidpublisher2; /// @@ -2004,9 +2009,9 @@ impl<'a, C, A> PurchaseMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `apklistings_delete(...)`, `apklistings_deleteall(...)`, `apklistings_get(...)`, `apklistings_list(...)`, `apklistings_patch(...)`, `apklistings_update(...)`, `apks_addexternallyhosted(...)`, `apks_list(...)`, `apks_upload(...)`, `commit(...)`, `delete(...)`, `deobfuscationfiles_upload(...)`, `details_get(...)`, `details_patch(...)`, `details_update(...)`, `expansionfiles_get(...)`, `expansionfiles_patch(...)`, `expansionfiles_update(...)`, `expansionfiles_upload(...)`, `get(...)`, `images_delete(...)`, `images_deleteall(...)`, `images_list(...)`, `images_upload(...)`, `insert(...)`, `listings_delete(...)`, `listings_deleteall(...)`, `listings_get(...)`, `listings_list(...)`, `listings_patch(...)`, `listings_update(...)`, `testers_get(...)`, `testers_patch(...)`, `testers_update(...)`, `tracks_get(...)`, `tracks_list(...)`, `tracks_patch(...)`, `tracks_update(...)` and `validate(...)` /// // to build up your call. @@ -2865,6 +2870,7 @@ impl<'a, C, A> EditMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_androidpublisher2 as androidpublisher2; /// @@ -2875,9 +2881,9 @@ impl<'a, C, A> EditMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `list(...)` and `reply(...)` /// // to build up your call. @@ -2968,6 +2974,7 @@ impl<'a, C, A> ReviewMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_androidpublisher2 as androidpublisher2; /// @@ -2978,9 +2985,9 @@ impl<'a, C, A> ReviewMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `batch(...)`, `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -3153,6 +3160,7 @@ impl<'a, C, A> InappproductMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidpublisher2 as androidpublisher2; /// # #[test] fn egal() { @@ -3162,9 +3170,9 @@ impl<'a, C, A> InappproductMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3411,6 +3419,7 @@ impl<'a, C, A> EntitlementListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidpublisher2 as androidpublisher2; /// # #[test] fn egal() { @@ -3420,9 +3429,9 @@ impl<'a, C, A> EntitlementListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3659,6 +3668,7 @@ impl<'a, C, A> PurchaseSubscriptionRevokeCall<'a, C, A> where C: BorrowMut PurchaseSubscriptionRevokeCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3918,6 +3928,7 @@ impl<'a, C, A> PurchaseProductGetCall<'a, C, A> where C: BorrowMut PurchaseProductGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4177,6 +4188,7 @@ impl<'a, C, A> PurchaseSubscriptionGetCall<'a, C, A> where C: BorrowMut PurchaseSubscriptionGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4469,6 +4481,7 @@ impl<'a, C, A> PurchaseVoidedpurchaseListCall<'a, C, A> where C: BorrowMut PurchaseVoidedpurchaseListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4717,6 +4730,7 @@ impl<'a, C, A> PurchaseSubscriptionCancelCall<'a, C, A> where C: BorrowMut PurchaseSubscriptionCancelCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4965,6 +4979,7 @@ impl<'a, C, A> PurchaseSubscriptionRefundCall<'a, C, A> where C: BorrowMut PurchaseSubscriptionRefundCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5255,6 +5270,7 @@ impl<'a, C, A> PurchaseSubscriptionDeferCall<'a, C, A> where C: BorrowMut PurchaseSubscriptionDeferCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `upload_resumable(...)`. /// // Values shown here are possibly random and not representative ! @@ -5634,6 +5650,7 @@ impl<'a, C, A> EditDeobfuscationfileUploadCall<'a, C, A> where C: BorrowMut EditDeobfuscationfileUploadCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `upload(...)`. /// // Values shown here are possibly random and not representative ! @@ -6013,6 +6030,7 @@ impl<'a, C, A> EditImageUploadCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidpublisher2 as androidpublisher2; /// use androidpublisher2::ExpansionFile; @@ -6023,9 +6041,9 @@ impl<'a, C, A> EditImageUploadCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6314,6 +6332,7 @@ impl<'a, C, A> EditExpansionfileUpdateCall<'a, C, A> where C: BorrowMut EditExpansionfileUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6561,6 +6580,7 @@ impl<'a, C, A> EditDetailGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidpublisher2 as androidpublisher2; /// # #[test] fn egal() { @@ -6570,9 +6590,9 @@ impl<'a, C, A> EditDetailGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6797,6 +6817,7 @@ impl<'a, C, A> EditListingDeleteallCall<'a, C, A> where C: BorrowMut EditListingDeleteallCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7075,6 +7096,7 @@ impl<'a, C, A> EditApkAddexternallyhostedCall<'a, C, A> where C: BorrowMut EditApkAddexternallyhostedCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7323,6 +7345,7 @@ impl<'a, C, A> EditApklistingDeleteallCall<'a, C, A> where C: BorrowMut EditApklistingDeleteallCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7601,6 +7624,7 @@ impl<'a, C, A> EditDetailUpdateCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidpublisher2 as androidpublisher2; /// # #[test] fn egal() { @@ -7610,9 +7634,9 @@ impl<'a, C, A> EditDetailUpdateCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7860,6 +7884,7 @@ impl<'a, C, A> EditTrackGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidpublisher2 as androidpublisher2; /// use androidpublisher2::ExpansionFile; @@ -7870,9 +7895,9 @@ impl<'a, C, A> EditTrackGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8161,6 +8186,7 @@ impl<'a, C, A> EditExpansionfilePatchCall<'a, C, A> where C: BorrowMut EditExpansionfilePatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8431,6 +8457,7 @@ impl<'a, C, A> EditImageListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidpublisher2 as androidpublisher2; /// use androidpublisher2::Track; @@ -8441,9 +8468,9 @@ impl<'a, C, A> EditImageListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8721,6 +8748,7 @@ impl<'a, C, A> EditTrackUpdateCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidpublisher2 as androidpublisher2; /// use androidpublisher2::Listing; @@ -8731,9 +8759,9 @@ impl<'a, C, A> EditTrackUpdateCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9011,6 +9039,7 @@ impl<'a, C, A> EditListingPatchCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidpublisher2 as androidpublisher2; /// # #[test] fn egal() { @@ -9020,9 +9049,9 @@ impl<'a, C, A> EditListingPatchCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9258,6 +9287,7 @@ impl<'a, C, A> EditGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidpublisher2 as androidpublisher2; /// # #[test] fn egal() { @@ -9267,9 +9297,9 @@ impl<'a, C, A> EditGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9527,6 +9557,7 @@ impl<'a, C, A> EditImageDeleteCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidpublisher2 as androidpublisher2; /// use std::fs; @@ -9537,9 +9568,9 @@ impl<'a, C, A> EditImageDeleteCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `upload_resumable(...)`. /// // Values shown here are possibly random and not representative ! @@ -9883,6 +9914,7 @@ impl<'a, C, A> EditApkUploadCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidpublisher2 as androidpublisher2; /// use androidpublisher2::ApkListing; @@ -9893,9 +9925,9 @@ impl<'a, C, A> EditApkUploadCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10183,6 +10215,7 @@ impl<'a, C, A> EditApklistingUpdateCall<'a, C, A> where C: BorrowMut EditApklistingUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10430,6 +10463,7 @@ impl<'a, C, A> EditApkListCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidpublisher2 as androidpublisher2; /// use androidpublisher2::ApkListing; @@ -10440,9 +10474,9 @@ impl<'a, C, A> EditApkListCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10732,6 +10766,7 @@ impl<'a, C, A> EditApklistingPatchCall<'a, C, A> where C: BorrowMut EditApklistingPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10991,6 +11026,7 @@ impl<'a, C, A> EditListingGetCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidpublisher2 as androidpublisher2; /// # #[test] fn egal() { @@ -11000,9 +11036,9 @@ impl<'a, C, A> EditListingGetCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11249,6 +11285,7 @@ impl<'a, C, A> EditApklistingDeleteCall<'a, C, A> where C: BorrowMut EditApklistingDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11507,6 +11544,7 @@ impl<'a, C, A> EditTesterGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidpublisher2 as androidpublisher2; /// # #[test] fn egal() { @@ -11516,9 +11554,9 @@ impl<'a, C, A> EditTesterGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11743,6 +11781,7 @@ impl<'a, C, A> EditDeleteCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidpublisher2 as androidpublisher2; /// use std::fs; @@ -11753,9 +11792,9 @@ impl<'a, C, A> EditDeleteCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `upload_resumable(...)`. /// // Values shown here are possibly random and not representative ! @@ -12122,6 +12161,7 @@ impl<'a, C, A> EditExpansionfileUploadCall<'a, C, A> where C: BorrowMut EditExpansionfileUploadCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12388,6 +12428,7 @@ impl<'a, C, A> EditInsertCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidpublisher2 as androidpublisher2; /// # #[test] fn egal() { @@ -12397,9 +12438,9 @@ impl<'a, C, A> EditInsertCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12633,6 +12674,7 @@ impl<'a, C, A> EditListingListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidpublisher2 as androidpublisher2; /// use androidpublisher2::Testers; @@ -12643,9 +12685,9 @@ impl<'a, C, A> EditListingListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12922,6 +12964,7 @@ impl<'a, C, A> EditTesterPatchCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidpublisher2 as androidpublisher2; /// # #[test] fn egal() { @@ -12931,9 +12974,9 @@ impl<'a, C, A> EditTesterPatchCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13169,6 +13212,7 @@ impl<'a, C, A> EditCommitCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidpublisher2 as androidpublisher2; /// # #[test] fn egal() { @@ -13178,9 +13222,9 @@ impl<'a, C, A> EditCommitCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13416,6 +13460,7 @@ impl<'a, C, A> EditTrackListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidpublisher2 as androidpublisher2; /// # #[test] fn egal() { @@ -13425,9 +13470,9 @@ impl<'a, C, A> EditTrackListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13663,6 +13708,7 @@ impl<'a, C, A> EditValidateCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidpublisher2 as androidpublisher2; /// use androidpublisher2::Listing; @@ -13673,9 +13719,9 @@ impl<'a, C, A> EditValidateCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13953,6 +13999,7 @@ impl<'a, C, A> EditListingUpdateCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidpublisher2 as androidpublisher2; /// # #[test] fn egal() { @@ -13962,9 +14009,9 @@ impl<'a, C, A> EditListingUpdateCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14223,6 +14270,7 @@ impl<'a, C, A> EditExpansionfileGetCall<'a, C, A> where C: BorrowMut EditExpansionfileGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14493,6 +14541,7 @@ impl<'a, C, A> EditImageDeleteallCall<'a, C, A> where C: BorrowMut EditImageDeleteallCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14771,6 +14820,7 @@ impl<'a, C, A> EditDetailPatchCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidpublisher2 as androidpublisher2; /// use androidpublisher2::Track; @@ -14781,9 +14831,9 @@ impl<'a, C, A> EditDetailPatchCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15061,6 +15111,7 @@ impl<'a, C, A> EditTrackPatchCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidpublisher2 as androidpublisher2; /// # #[test] fn egal() { @@ -15070,9 +15121,9 @@ impl<'a, C, A> EditTrackPatchCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15309,6 +15360,7 @@ impl<'a, C, A> EditListingDeleteCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidpublisher2 as androidpublisher2; /// # #[test] fn egal() { @@ -15318,9 +15370,9 @@ impl<'a, C, A> EditListingDeleteCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15578,6 +15630,7 @@ impl<'a, C, A> EditApklistingGetCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidpublisher2 as androidpublisher2; /// use androidpublisher2::Testers; @@ -15588,9 +15641,9 @@ impl<'a, C, A> EditApklistingGetCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15867,6 +15920,7 @@ impl<'a, C, A> EditTesterUpdateCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidpublisher2 as androidpublisher2; /// # #[test] fn egal() { @@ -15876,9 +15930,9 @@ impl<'a, C, A> EditTesterUpdateCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16126,6 +16180,7 @@ impl<'a, C, A> EditApklistingListCall<'a, C, A> where C: BorrowMut EditApklistingListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16403,6 +16458,7 @@ impl<'a, C, A> ReviewReplyCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidpublisher2 as androidpublisher2; /// # #[test] fn egal() { @@ -16412,9 +16468,9 @@ impl<'a, C, A> ReviewReplyCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16660,6 +16716,7 @@ impl<'a, C, A> ReviewGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidpublisher2 as androidpublisher2; /// # #[test] fn egal() { @@ -16669,9 +16726,9 @@ impl<'a, C, A> ReviewGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16937,6 +16994,7 @@ impl<'a, C, A> ReviewListCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidpublisher2 as androidpublisher2; /// use androidpublisher2::InappproductsBatchRequest; @@ -16947,9 +17005,9 @@ impl<'a, C, A> ReviewListCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17170,6 +17228,7 @@ impl<'a, C, A> InappproductBatchCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidpublisher2 as androidpublisher2; /// # #[test] fn egal() { @@ -17179,9 +17238,9 @@ impl<'a, C, A> InappproductBatchCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17438,6 +17497,7 @@ impl<'a, C, A> InappproductListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidpublisher2 as androidpublisher2; /// use androidpublisher2::InAppProduct; @@ -17448,9 +17508,9 @@ impl<'a, C, A> InappproductListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17716,6 +17776,7 @@ impl<'a, C, A> InappproductInsertCall<'a, C, A> where C: BorrowMut InappproductInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17952,6 +18013,7 @@ impl<'a, C, A> InappproductDeleteCall<'a, C, A> where C: BorrowMut InappproductDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18198,6 +18260,7 @@ impl<'a, C, A> InappproductGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_androidpublisher2 as androidpublisher2; /// use androidpublisher2::InAppProduct; @@ -18208,9 +18271,9 @@ impl<'a, C, A> InappproductGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18488,6 +18551,7 @@ impl<'a, C, A> InappproductUpdateCall<'a, C, A> where C: BorrowMut InappproductUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AndroidPublisher::new(hyper::Client::new(), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/appengine1-cli/Cargo.toml b/gen/appengine1-cli/Cargo.toml index deca0b7dc6..53f27e43ee 100644 --- a/gen/appengine1-cli/Cargo.toml +++ b/gen/appengine1-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["appengine", "google", "cli"] [[bin]] name = "appengine1" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/appengine1/Cargo.toml b/gen/appengine1/Cargo.toml index cbd0cd1c63..4c86cbaa65 100644 --- a/gen/appengine1/Cargo.toml +++ b/gen/appengine1/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["appengine", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/appengine1/README.md b/gen/appengine1/README.md index 1ded5fc540..ad0465a0e5 100644 --- a/gen/appengine1/README.md +++ b/gen/appengine1/README.md @@ -80,6 +80,7 @@ google-appengine1 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_appengine1 as appengine1; use appengine1::DebugInstanceRequest; @@ -97,9 +98,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Appengine::new(hyper::Client::new(), auth); +let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! diff --git a/gen/appengine1/src/lib.rs b/gen/appengine1/src/lib.rs index 303b24690a..034d578f29 100644 --- a/gen/appengine1/src/lib.rs +++ b/gen/appengine1/src/lib.rs @@ -80,6 +80,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_appengine1 as appengine1; //! use appengine1::DebugInstanceRequest; @@ -98,9 +99,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Appengine::new(hyper::Client::new(), auth); +//! let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! @@ -272,6 +273,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_appengine1 as appengine1; /// use appengine1::DebugInstanceRequest; @@ -290,9 +292,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Appengine::new(hyper::Client::new(), auth); +/// let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1451,6 +1453,7 @@ impl ResponseResult for Operation {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_appengine1 as appengine1; /// @@ -1461,9 +1464,9 @@ impl ResponseResult for Operation {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Appengine::new(hyper::Client::new(), auth); +/// let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `get(...)`, `locations_get(...)`, `locations_list(...)`, `operations_get(...)`, `operations_list(...)`, `patch(...)`, `repair(...)`, `services_delete(...)`, `services_get(...)`, `services_list(...)`, `services_patch(...)`, `services_versions_create(...)`, `services_versions_delete(...)`, `services_versions_get(...)`, `services_versions_instances_debug(...)`, `services_versions_instances_delete(...)`, `services_versions_instances_get(...)`, `services_versions_instances_list(...)`, `services_versions_list(...)` and `services_versions_patch(...)` /// // to build up your call. @@ -1943,6 +1946,7 @@ impl<'a, C, A> AppMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_appengine1 as appengine1; /// # #[test] fn egal() { @@ -1952,9 +1956,9 @@ impl<'a, C, A> AppMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2232,6 +2236,7 @@ impl<'a, C, A> AppServiceVersionInstanceListCall<'a, C, A> where C: BorrowMut AppServiceVersionInstanceListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2516,6 +2521,7 @@ impl<'a, C, A> AppServiceVersionCreateCall<'a, C, A> where C: BorrowMut AppServiceVersionCreateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2788,6 +2794,7 @@ impl<'a, C, A> AppRepairCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_appengine1 as appengine1; /// use appengine1::DebugInstanceRequest; @@ -2798,9 +2805,9 @@ impl<'a, C, A> AppRepairCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3096,6 +3103,7 @@ impl<'a, C, A> AppServiceVersionInstanceDebugCall<'a, C, A> where C: BorrowMut AppServiceVersionInstanceDebugCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3351,6 +3359,7 @@ impl<'a, C, A> AppServiceGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_appengine1 as appengine1; /// use appengine1::Application; @@ -3361,9 +3370,9 @@ impl<'a, C, A> AppServiceGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3635,6 +3644,7 @@ impl<'a, C, A> AppPatchCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_appengine1 as appengine1; /// # #[test] fn egal() { @@ -3644,9 +3654,9 @@ impl<'a, C, A> AppPatchCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3916,6 +3926,7 @@ impl<'a, C, A> AppServiceVersionInstanceDeleteCall<'a, C, A> where C: BorrowMut< /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_appengine1 as appengine1; /// use appengine1::Version; @@ -3926,9 +3937,9 @@ impl<'a, C, A> AppServiceVersionInstanceDeleteCall<'a, C, A> where C: BorrowMut< /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4224,6 +4235,7 @@ impl<'a, C, A> AppServiceVersionPatchCall<'a, C, A> where C: BorrowMut AppServiceVersionPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4513,6 +4525,7 @@ impl<'a, C, A> AppServiceVersionListCall<'a, C, A> where C: BorrowMut AppServiceVersionListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4766,6 +4779,7 @@ impl<'a, C, A> AppOperationGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_appengine1 as appengine1; /// # #[test] fn egal() { @@ -4775,9 +4789,9 @@ impl<'a, C, A> AppOperationGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5031,6 +5045,7 @@ impl<'a, C, A> AppServiceListCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_appengine1 as appengine1; /// # #[test] fn egal() { @@ -5040,9 +5055,9 @@ impl<'a, C, A> AppServiceListCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5308,6 +5323,7 @@ impl<'a, C, A> AppLocationListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_appengine1 as appengine1; /// # #[test] fn egal() { @@ -5317,9 +5333,9 @@ impl<'a, C, A> AppLocationListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5585,6 +5601,7 @@ impl<'a, C, A> AppServiceVersionInstanceGetCall<'a, C, A> where C: BorrowMut AppServiceVersionInstanceGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5862,6 +5879,7 @@ impl<'a, C, A> AppOperationListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_appengine1 as appengine1; /// # #[test] fn egal() { @@ -5871,9 +5889,9 @@ impl<'a, C, A> AppOperationListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6127,6 +6145,7 @@ impl<'a, C, A> AppServiceVersionDeleteCall<'a, C, A> where C: BorrowMut AppServiceVersionDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6380,6 +6399,7 @@ impl<'a, C, A> AppLocationGetCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_appengine1 as appengine1; /// use appengine1::Service; @@ -6390,9 +6410,9 @@ impl<'a, C, A> AppLocationGetCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6688,6 +6708,7 @@ impl<'a, C, A> AppServicePatchCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_appengine1 as appengine1; /// # #[test] fn egal() { @@ -6697,9 +6718,9 @@ impl<'a, C, A> AppServicePatchCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6929,6 +6950,7 @@ impl<'a, C, A> AppGetCall<'a, C, A> where C: BorrowMut, A: oauth2 /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_appengine1 as appengine1; /// # #[test] fn egal() { @@ -6938,9 +6960,9 @@ impl<'a, C, A> AppGetCall<'a, C, A> where C: BorrowMut, A: oauth2 /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7184,6 +7206,7 @@ impl<'a, C, A> AppServiceDeleteCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_appengine1 as appengine1; /// use appengine1::Application; @@ -7194,9 +7217,9 @@ impl<'a, C, A> AppServiceDeleteCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7423,6 +7446,7 @@ impl<'a, C, A> AppCreateCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_appengine1 as appengine1; /// # #[test] fn egal() { @@ -7432,9 +7456,9 @@ impl<'a, C, A> AppCreateCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/appengine1_beta4-cli/Cargo.toml b/gen/appengine1_beta4-cli/Cargo.toml index 19239912fc..ef7d603d7f 100644 --- a/gen/appengine1_beta4-cli/Cargo.toml +++ b/gen/appengine1_beta4-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["appengine", "google", "cli"] [[bin]] name = "appengine1-beta4" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/appengine1_beta4/Cargo.toml b/gen/appengine1_beta4/Cargo.toml index bfb37109a7..1b7100695f 100644 --- a/gen/appengine1_beta4/Cargo.toml +++ b/gen/appengine1_beta4/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["appengine", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/appengine1_beta4/README.md b/gen/appengine1_beta4/README.md index acb8724e7e..4685fddc46 100644 --- a/gen/appengine1_beta4/README.md +++ b/gen/appengine1_beta4/README.md @@ -79,6 +79,7 @@ google-appengine1_beta4 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_appengine1_beta4 as appengine1_beta4; use appengine1_beta4::Module; @@ -96,9 +97,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Appengine::new(hyper::Client::new(), auth); +let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! diff --git a/gen/appengine1_beta4/src/lib.rs b/gen/appengine1_beta4/src/lib.rs index 9322d57222..60001555e9 100644 --- a/gen/appengine1_beta4/src/lib.rs +++ b/gen/appengine1_beta4/src/lib.rs @@ -79,6 +79,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_appengine1_beta4 as appengine1_beta4; //! use appengine1_beta4::Module; @@ -97,9 +98,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Appengine::new(hyper::Client::new(), auth); +//! let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! @@ -273,6 +274,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_appengine1_beta4 as appengine1_beta4; /// use appengine1_beta4::Module; @@ -291,9 +293,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Appengine::new(hyper::Client::new(), auth); +/// let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1368,6 +1370,7 @@ impl ResponseResult for Operation {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_appengine1_beta4 as appengine1_beta4; /// @@ -1378,9 +1381,9 @@ impl ResponseResult for Operation {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Appengine::new(hyper::Client::new(), auth); +/// let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `get(...)`, `locations_get(...)`, `locations_list(...)`, `modules_delete(...)`, `modules_get(...)`, `modules_list(...)`, `modules_patch(...)`, `modules_versions_create(...)`, `modules_versions_delete(...)`, `modules_versions_get(...)`, `modules_versions_instances_debug(...)`, `modules_versions_instances_delete(...)`, `modules_versions_instances_get(...)`, `modules_versions_instances_list(...)`, `modules_versions_list(...)`, `modules_versions_patch(...)`, `operations_get(...)`, `operations_list(...)` and `patch(...)` /// // to build up your call. @@ -1842,6 +1845,7 @@ impl<'a, C, A> AppMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_appengine1_beta4 as appengine1_beta4; /// use appengine1_beta4::Module; @@ -1852,9 +1856,9 @@ impl<'a, C, A> AppMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2150,6 +2154,7 @@ impl<'a, C, A> AppModulePatchCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_appengine1_beta4 as appengine1_beta4; /// # #[test] fn egal() { @@ -2159,9 +2164,9 @@ impl<'a, C, A> AppModulePatchCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2403,6 +2408,7 @@ impl<'a, C, A> AppModuleGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_appengine1_beta4 as appengine1_beta4; /// # #[test] fn egal() { @@ -2412,9 +2418,9 @@ impl<'a, C, A> AppModuleGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2680,6 +2686,7 @@ impl<'a, C, A> AppModuleVersionInstanceGetCall<'a, C, A> where C: BorrowMut AppModuleVersionInstanceGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2947,6 +2954,7 @@ impl<'a, C, A> AppModuleListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_appengine1_beta4 as appengine1_beta4; /// use appengine1_beta4::Application; @@ -2957,9 +2965,9 @@ impl<'a, C, A> AppModuleListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3186,6 +3194,7 @@ impl<'a, C, A> AppCreateCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_appengine1_beta4 as appengine1_beta4; /// # #[test] fn egal() { @@ -3195,9 +3204,9 @@ impl<'a, C, A> AppCreateCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3475,6 +3484,7 @@ impl<'a, C, A> AppModuleVersionInstanceListCall<'a, C, A> where C: BorrowMut AppModuleVersionInstanceListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3752,6 +3762,7 @@ impl<'a, C, A> AppModuleVersionInstanceDeleteCall<'a, C, A> where C: BorrowMut AppModuleVersionInstanceDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4060,6 +4071,7 @@ impl<'a, C, A> AppModuleVersionInstanceDebugCall<'a, C, A> where C: BorrowMut AppModuleVersionInstanceDebugCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4313,6 +4325,7 @@ impl<'a, C, A> AppGetCall<'a, C, A> where C: BorrowMut, A: oauth2 /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_appengine1_beta4 as appengine1_beta4; /// # #[test] fn egal() { @@ -4322,9 +4335,9 @@ impl<'a, C, A> AppGetCall<'a, C, A> where C: BorrowMut, A: oauth2 /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4568,6 +4581,7 @@ impl<'a, C, A> AppModuleDeleteCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_appengine1_beta4 as appengine1_beta4; /// use appengine1_beta4::Application; @@ -4578,9 +4592,9 @@ impl<'a, C, A> AppModuleDeleteCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4852,6 +4866,7 @@ impl<'a, C, A> AppPatchCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_appengine1_beta4 as appengine1_beta4; /// # #[test] fn egal() { @@ -4861,9 +4876,9 @@ impl<'a, C, A> AppPatchCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5105,6 +5120,7 @@ impl<'a, C, A> AppOperationGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_appengine1_beta4 as appengine1_beta4; /// # #[test] fn egal() { @@ -5114,9 +5130,9 @@ impl<'a, C, A> AppOperationGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5358,6 +5374,7 @@ impl<'a, C, A> AppLocationGetCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_appengine1_beta4 as appengine1_beta4; /// # #[test] fn egal() { @@ -5367,9 +5384,9 @@ impl<'a, C, A> AppLocationGetCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5639,6 +5656,7 @@ impl<'a, C, A> AppLocationListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_appengine1_beta4 as appengine1_beta4; /// use appengine1_beta4::Version; @@ -5649,9 +5667,9 @@ impl<'a, C, A> AppLocationListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5947,6 +5965,7 @@ impl<'a, C, A> AppModuleVersionPatchCall<'a, C, A> where C: BorrowMut AppModuleVersionPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6224,6 +6243,7 @@ impl<'a, C, A> AppOperationListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_appengine1_beta4 as appengine1_beta4; /// # #[test] fn egal() { @@ -6233,9 +6253,9 @@ impl<'a, C, A> AppOperationListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6489,6 +6509,7 @@ impl<'a, C, A> AppModuleVersionDeleteCall<'a, C, A> where C: BorrowMut AppModuleVersionDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6773,6 +6794,7 @@ impl<'a, C, A> AppModuleVersionCreateCall<'a, C, A> where C: BorrowMut AppModuleVersionCreateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7050,6 +7072,7 @@ impl<'a, C, A> AppModuleVersionGetCall<'a, C, A> where C: BorrowMut AppModuleVersionGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/appengine1_beta5-cli/Cargo.toml b/gen/appengine1_beta5-cli/Cargo.toml index ec9c0a28f1..f5e106aa89 100644 --- a/gen/appengine1_beta5-cli/Cargo.toml +++ b/gen/appengine1_beta5-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["appengine", "google", "cli"] [[bin]] name = "appengine1-beta5" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/appengine1_beta5/Cargo.toml b/gen/appengine1_beta5/Cargo.toml index 2ecdeb2b93..2fce9a2931 100644 --- a/gen/appengine1_beta5/Cargo.toml +++ b/gen/appengine1_beta5/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["appengine", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/appengine1_beta5/README.md b/gen/appengine1_beta5/README.md index 116f3b82dc..feee5a0720 100644 --- a/gen/appengine1_beta5/README.md +++ b/gen/appengine1_beta5/README.md @@ -79,6 +79,7 @@ google-appengine1_beta5 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_appengine1_beta5 as appengine1_beta5; use appengine1_beta5::DebugInstanceRequest; @@ -96,9 +97,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Appengine::new(hyper::Client::new(), auth); +let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! diff --git a/gen/appengine1_beta5/src/lib.rs b/gen/appengine1_beta5/src/lib.rs index fdd3cdcdca..65a90d5322 100644 --- a/gen/appengine1_beta5/src/lib.rs +++ b/gen/appengine1_beta5/src/lib.rs @@ -79,6 +79,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_appengine1_beta5 as appengine1_beta5; //! use appengine1_beta5::DebugInstanceRequest; @@ -97,9 +98,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Appengine::new(hyper::Client::new(), auth); +//! let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! @@ -271,6 +272,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_appengine1_beta5 as appengine1_beta5; /// use appengine1_beta5::DebugInstanceRequest; @@ -289,9 +291,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Appengine::new(hyper::Client::new(), auth); +/// let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1362,6 +1364,7 @@ impl ResponseResult for Operation {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_appengine1_beta5 as appengine1_beta5; /// @@ -1372,9 +1375,9 @@ impl ResponseResult for Operation {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Appengine::new(hyper::Client::new(), auth); +/// let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `get(...)`, `locations_get(...)`, `locations_list(...)`, `operations_get(...)`, `operations_list(...)`, `patch(...)`, `services_delete(...)`, `services_get(...)`, `services_list(...)`, `services_patch(...)`, `services_versions_create(...)`, `services_versions_delete(...)`, `services_versions_get(...)`, `services_versions_instances_debug(...)`, `services_versions_instances_delete(...)`, `services_versions_instances_get(...)`, `services_versions_instances_list(...)`, `services_versions_list(...)` and `services_versions_patch(...)` /// // to build up your call. @@ -1836,6 +1839,7 @@ impl<'a, C, A> AppMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_appengine1_beta5 as appengine1_beta5; /// # #[test] fn egal() { @@ -1845,9 +1849,9 @@ impl<'a, C, A> AppMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2125,6 +2129,7 @@ impl<'a, C, A> AppServiceVersionInstanceListCall<'a, C, A> where C: BorrowMut AppServiceVersionInstanceListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2411,6 +2416,7 @@ impl<'a, C, A> AppServiceVersionCreateCall<'a, C, A> where C: BorrowMut AppServiceVersionCreateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2695,6 +2701,7 @@ impl<'a, C, A> AppPatchCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_appengine1_beta5 as appengine1_beta5; /// use appengine1_beta5::DebugInstanceRequest; @@ -2705,9 +2712,9 @@ impl<'a, C, A> AppPatchCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3003,6 +3010,7 @@ impl<'a, C, A> AppServiceVersionInstanceDebugCall<'a, C, A> where C: BorrowMut AppServiceVersionInstanceDebugCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3256,6 +3264,7 @@ impl<'a, C, A> AppServiceGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_appengine1_beta5 as appengine1_beta5; /// # #[test] fn egal() { @@ -3265,9 +3274,9 @@ impl<'a, C, A> AppServiceGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3537,6 +3546,7 @@ impl<'a, C, A> AppServiceVersionInstanceDeleteCall<'a, C, A> where C: BorrowMut< /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_appengine1_beta5 as appengine1_beta5; /// use appengine1_beta5::Version; @@ -3547,9 +3557,9 @@ impl<'a, C, A> AppServiceVersionInstanceDeleteCall<'a, C, A> where C: BorrowMut< /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3845,6 +3855,7 @@ impl<'a, C, A> AppServiceVersionPatchCall<'a, C, A> where C: BorrowMut AppServiceVersionPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4134,6 +4145,7 @@ impl<'a, C, A> AppServiceVersionListCall<'a, C, A> where C: BorrowMut AppServiceVersionListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4387,6 +4399,7 @@ impl<'a, C, A> AppOperationGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_appengine1_beta5 as appengine1_beta5; /// # #[test] fn egal() { @@ -4396,9 +4409,9 @@ impl<'a, C, A> AppOperationGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4652,6 +4665,7 @@ impl<'a, C, A> AppServiceListCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_appengine1_beta5 as appengine1_beta5; /// # #[test] fn egal() { @@ -4661,9 +4675,9 @@ impl<'a, C, A> AppServiceListCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4929,6 +4943,7 @@ impl<'a, C, A> AppLocationListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_appengine1_beta5 as appengine1_beta5; /// # #[test] fn egal() { @@ -4938,9 +4953,9 @@ impl<'a, C, A> AppLocationListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5206,6 +5221,7 @@ impl<'a, C, A> AppServiceVersionInstanceGetCall<'a, C, A> where C: BorrowMut AppServiceVersionInstanceGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5483,6 +5499,7 @@ impl<'a, C, A> AppOperationListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_appengine1_beta5 as appengine1_beta5; /// # #[test] fn egal() { @@ -5492,9 +5509,9 @@ impl<'a, C, A> AppOperationListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5748,6 +5765,7 @@ impl<'a, C, A> AppServiceVersionDeleteCall<'a, C, A> where C: BorrowMut AppServiceVersionDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6001,6 +6019,7 @@ impl<'a, C, A> AppLocationGetCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_appengine1_beta5 as appengine1_beta5; /// use appengine1_beta5::Service; @@ -6011,9 +6030,9 @@ impl<'a, C, A> AppLocationGetCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6309,6 +6328,7 @@ impl<'a, C, A> AppServicePatchCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_appengine1_beta5 as appengine1_beta5; /// # #[test] fn egal() { @@ -6318,9 +6338,9 @@ impl<'a, C, A> AppServicePatchCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6562,6 +6582,7 @@ impl<'a, C, A> AppGetCall<'a, C, A> where C: BorrowMut, A: oauth2 /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_appengine1_beta5 as appengine1_beta5; /// # #[test] fn egal() { @@ -6571,9 +6592,9 @@ impl<'a, C, A> AppGetCall<'a, C, A> where C: BorrowMut, A: oauth2 /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6817,6 +6838,7 @@ impl<'a, C, A> AppServiceDeleteCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_appengine1_beta5 as appengine1_beta5; /// use appengine1_beta5::Application; @@ -6827,9 +6849,9 @@ impl<'a, C, A> AppServiceDeleteCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7056,6 +7078,7 @@ impl<'a, C, A> AppCreateCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_appengine1_beta5 as appengine1_beta5; /// # #[test] fn egal() { @@ -7065,9 +7088,9 @@ impl<'a, C, A> AppCreateCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Appengine::new(hyper::Client::new(), auth); +/// # let mut hub = Appengine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/appsactivity1-cli/Cargo.toml b/gen/appsactivity1-cli/Cargo.toml index 67ab6b3c97..361d648989 100644 --- a/gen/appsactivity1-cli/Cargo.toml +++ b/gen/appsactivity1-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["appsactivity", "google", "cli"] [[bin]] name = "appsactivity1" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/appsactivity1/Cargo.toml b/gen/appsactivity1/Cargo.toml index f4427789df..9a5f02fa6b 100644 --- a/gen/appsactivity1/Cargo.toml +++ b/gen/appsactivity1/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["appsactivity", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/appsactivity1/README.md b/gen/appsactivity1/README.md index 9bb8ba9ae6..a8e8c26857 100644 --- a/gen/appsactivity1/README.md +++ b/gen/appsactivity1/README.md @@ -70,6 +70,7 @@ google-appsactivity1 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_appsactivity1 as appsactivity1; use appsactivity1::{Result, Error}; @@ -86,9 +87,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Appsactivity::new(hyper::Client::new(), auth); +let mut hub = Appsactivity::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! diff --git a/gen/appsactivity1/src/lib.rs b/gen/appsactivity1/src/lib.rs index 00e1a2c6fa..47666686db 100644 --- a/gen/appsactivity1/src/lib.rs +++ b/gen/appsactivity1/src/lib.rs @@ -70,6 +70,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_appsactivity1 as appsactivity1; //! use appsactivity1::{Result, Error}; @@ -87,9 +88,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Appsactivity::new(hyper::Client::new(), auth); +//! let mut hub = Appsactivity::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! @@ -271,6 +272,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_appsactivity1 as appsactivity1; /// use appsactivity1::{Result, Error}; @@ -288,9 +290,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Appsactivity::new(hyper::Client::new(), auth); +/// let mut hub = Appsactivity::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -615,6 +617,7 @@ impl Part for Event {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_appsactivity1 as appsactivity1; /// @@ -625,9 +628,9 @@ impl Part for Event {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Appsactivity::new(hyper::Client::new(), auth); +/// let mut hub = Appsactivity::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -683,6 +686,7 @@ impl<'a, C, A> ActivityMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_appsactivity1 as appsactivity1; /// # #[test] fn egal() { @@ -692,9 +696,9 @@ impl<'a, C, A> ActivityMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Appsactivity::new(hyper::Client::new(), auth); +/// # let mut hub = Appsactivity::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/appstate1-cli/Cargo.toml b/gen/appstate1-cli/Cargo.toml index ca77ffe92a..c789b90507 100644 --- a/gen/appstate1-cli/Cargo.toml +++ b/gen/appstate1-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["appstate", "google", "cli"] [[bin]] name = "appstate1" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/appstate1/Cargo.toml b/gen/appstate1/Cargo.toml index 4fbec4499a..5a3fd90492 100644 --- a/gen/appstate1/Cargo.toml +++ b/gen/appstate1/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["appstate", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/appstate1/README.md b/gen/appstate1/README.md index 556388f8d1..d2ccd1b990 100644 --- a/gen/appstate1/README.md +++ b/gen/appstate1/README.md @@ -71,6 +71,7 @@ google-appstate1 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_appstate1 as appstate1; use appstate1::UpdateRequest; @@ -88,9 +89,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = AppState::new(hyper::Client::new(), auth); +let mut hub = AppState::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! diff --git a/gen/appstate1/src/lib.rs b/gen/appstate1/src/lib.rs index 6f2d6af1f8..b8a4ea2811 100644 --- a/gen/appstate1/src/lib.rs +++ b/gen/appstate1/src/lib.rs @@ -71,6 +71,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_appstate1 as appstate1; //! use appstate1::UpdateRequest; @@ -89,9 +90,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = AppState::new(hyper::Client::new(), auth); +//! let mut hub = AppState::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! @@ -256,6 +257,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_appstate1 as appstate1; /// use appstate1::UpdateRequest; @@ -274,9 +276,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AppState::new(hyper::Client::new(), auth); +/// let mut hub = AppState::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -471,6 +473,7 @@ impl ResponseResult for WriteResult {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_appstate1 as appstate1; /// @@ -481,9 +484,9 @@ impl ResponseResult for WriteResult {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AppState::new(hyper::Client::new(), auth); +/// let mut hub = AppState::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `clear(...)`, `delete(...)`, `get(...)`, `list(...)` and `update(...)` /// // to build up your call. @@ -605,6 +608,7 @@ impl<'a, C, A> StateMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_appstate1 as appstate1; /// # #[test] fn egal() { @@ -614,9 +618,9 @@ impl<'a, C, A> StateMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AppState::new(hyper::Client::new(), auth); +/// # let mut hub = AppState::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -829,6 +833,7 @@ impl<'a, C, A> StateDeleteCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_appstate1 as appstate1; /// # #[test] fn egal() { @@ -838,9 +843,9 @@ impl<'a, C, A> StateDeleteCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AppState::new(hyper::Client::new(), auth); +/// # let mut hub = AppState::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1064,6 +1069,7 @@ impl<'a, C, A> StateGetCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_appstate1 as appstate1; /// # #[test] fn egal() { @@ -1073,9 +1079,9 @@ impl<'a, C, A> StateGetCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AppState::new(hyper::Client::new(), auth); +/// # let mut hub = AppState::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1311,6 +1317,7 @@ impl<'a, C, A> StateClearCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_appstate1 as appstate1; /// # #[test] fn egal() { @@ -1320,9 +1327,9 @@ impl<'a, C, A> StateClearCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AppState::new(hyper::Client::new(), auth); +/// # let mut hub = AppState::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1525,6 +1532,7 @@ impl<'a, C, A> StateListCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_appstate1 as appstate1; /// use appstate1::UpdateRequest; @@ -1535,9 +1543,9 @@ impl<'a, C, A> StateListCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AppState::new(hyper::Client::new(), auth); +/// # let mut hub = AppState::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/autoscaler1_beta2-cli/Cargo.toml b/gen/autoscaler1_beta2-cli/Cargo.toml index f97576c550..587c2a6c30 100644 --- a/gen/autoscaler1_beta2-cli/Cargo.toml +++ b/gen/autoscaler1_beta2-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["autoscaler", "google", "cli"] [[bin]] name = "autoscaler1-beta2" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/autoscaler1_beta2/Cargo.toml b/gen/autoscaler1_beta2/Cargo.toml index d65db3b545..ab016109d5 100644 --- a/gen/autoscaler1_beta2/Cargo.toml +++ b/gen/autoscaler1_beta2/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["autoscaler", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/autoscaler1_beta2/README.md b/gen/autoscaler1_beta2/README.md index 3fe466257a..44b6470a74 100644 --- a/gen/autoscaler1_beta2/README.md +++ b/gen/autoscaler1_beta2/README.md @@ -79,6 +79,7 @@ google-autoscaler1_beta2 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_autoscaler1_beta2 as autoscaler1_beta2; use autoscaler1_beta2::{Result, Error}; @@ -95,9 +96,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = AutoscalerHub::new(hyper::Client::new(), auth); +let mut hub = AutoscalerHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! diff --git a/gen/autoscaler1_beta2/src/lib.rs b/gen/autoscaler1_beta2/src/lib.rs index a6680d7384..0af0220dea 100644 --- a/gen/autoscaler1_beta2/src/lib.rs +++ b/gen/autoscaler1_beta2/src/lib.rs @@ -79,6 +79,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_autoscaler1_beta2 as autoscaler1_beta2; //! use autoscaler1_beta2::{Result, Error}; @@ -96,9 +97,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = AutoscalerHub::new(hyper::Client::new(), auth); +//! let mut hub = AutoscalerHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! @@ -264,6 +265,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_autoscaler1_beta2 as autoscaler1_beta2; /// use autoscaler1_beta2::{Result, Error}; @@ -281,9 +283,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AutoscalerHub::new(hyper::Client::new(), auth); +/// let mut hub = AutoscalerHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -808,6 +810,7 @@ impl ResponseResult for Autoscaler {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_autoscaler1_beta2 as autoscaler1_beta2; /// @@ -818,9 +821,9 @@ impl ResponseResult for Autoscaler {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AutoscalerHub::new(hyper::Client::new(), auth); +/// let mut hub = AutoscalerHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -869,6 +872,7 @@ impl<'a, C, A> ZoneMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_autoscaler1_beta2 as autoscaler1_beta2; /// @@ -879,9 +883,9 @@ impl<'a, C, A> ZoneMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AutoscalerHub::new(hyper::Client::new(), auth); +/// let mut hub = AutoscalerHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)` and `list(...)` /// // to build up your call. @@ -974,6 +978,7 @@ impl<'a, C, A> ZoneOperationMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_autoscaler1_beta2 as autoscaler1_beta2; /// @@ -984,9 +989,9 @@ impl<'a, C, A> ZoneOperationMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = AutoscalerHub::new(hyper::Client::new(), auth); +/// let mut hub = AutoscalerHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -1154,6 +1159,7 @@ impl<'a, C, A> AutoscalerMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_autoscaler1_beta2 as autoscaler1_beta2; /// # #[test] fn egal() { @@ -1163,9 +1169,9 @@ impl<'a, C, A> AutoscalerMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AutoscalerHub::new(hyper::Client::new(), auth); +/// # let mut hub = AutoscalerHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1421,6 +1427,7 @@ impl<'a, C, A> ZoneListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_autoscaler1_beta2 as autoscaler1_beta2; /// # #[test] fn egal() { @@ -1430,9 +1437,9 @@ impl<'a, C, A> ZoneListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AutoscalerHub::new(hyper::Client::new(), auth); +/// # let mut hub = AutoscalerHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1699,6 +1706,7 @@ impl<'a, C, A> ZoneOperationListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_autoscaler1_beta2 as autoscaler1_beta2; /// # #[test] fn egal() { @@ -1708,9 +1716,9 @@ impl<'a, C, A> ZoneOperationListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AutoscalerHub::new(hyper::Client::new(), auth); +/// # let mut hub = AutoscalerHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1944,6 +1952,7 @@ impl<'a, C, A> ZoneOperationDeleteCall<'a, C, A> where C: BorrowMut ZoneOperationDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = AutoscalerHub::new(hyper::Client::new(), auth); +/// # let mut hub = AutoscalerHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2200,6 +2209,7 @@ impl<'a, C, A> ZoneOperationGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_autoscaler1_beta2 as autoscaler1_beta2; /// # #[test] fn egal() { @@ -2209,9 +2219,9 @@ impl<'a, C, A> ZoneOperationGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AutoscalerHub::new(hyper::Client::new(), auth); +/// # let mut hub = AutoscalerHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2480,6 +2490,7 @@ impl<'a, C, A> AutoscalerListCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_autoscaler1_beta2 as autoscaler1_beta2; /// use autoscaler1_beta2::Autoscaler; @@ -2490,9 +2501,9 @@ impl<'a, C, A> AutoscalerListCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AutoscalerHub::new(hyper::Client::new(), auth); +/// # let mut hub = AutoscalerHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2770,6 +2781,7 @@ impl<'a, C, A> AutoscalerUpdateCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_autoscaler1_beta2 as autoscaler1_beta2; /// use autoscaler1_beta2::Autoscaler; @@ -2780,9 +2792,9 @@ impl<'a, C, A> AutoscalerUpdateCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AutoscalerHub::new(hyper::Client::new(), auth); +/// # let mut hub = AutoscalerHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3060,6 +3072,7 @@ impl<'a, C, A> AutoscalerPatchCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_autoscaler1_beta2 as autoscaler1_beta2; /// # #[test] fn egal() { @@ -3069,9 +3082,9 @@ impl<'a, C, A> AutoscalerPatchCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AutoscalerHub::new(hyper::Client::new(), auth); +/// # let mut hub = AutoscalerHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3319,6 +3332,7 @@ impl<'a, C, A> AutoscalerDeleteCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_autoscaler1_beta2 as autoscaler1_beta2; /// use autoscaler1_beta2::Autoscaler; @@ -3329,9 +3343,9 @@ impl<'a, C, A> AutoscalerDeleteCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AutoscalerHub::new(hyper::Client::new(), auth); +/// # let mut hub = AutoscalerHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3597,6 +3611,7 @@ impl<'a, C, A> AutoscalerInsertCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_autoscaler1_beta2 as autoscaler1_beta2; /// # #[test] fn egal() { @@ -3606,9 +3621,9 @@ impl<'a, C, A> AutoscalerInsertCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = AutoscalerHub::new(hyper::Client::new(), auth); +/// # let mut hub = AutoscalerHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/bigquery2-cli/Cargo.toml b/gen/bigquery2-cli/Cargo.toml index 35e35356f0..eaeaffff0f 100644 --- a/gen/bigquery2-cli/Cargo.toml +++ b/gen/bigquery2-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["bigquery", "google", "cli"] [[bin]] name = "bigquery2" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/bigquery2/Cargo.toml b/gen/bigquery2/Cargo.toml index c0ebf63761..1d85db3f48 100644 --- a/gen/bigquery2/Cargo.toml +++ b/gen/bigquery2/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["bigquery", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/bigquery2/README.md b/gen/bigquery2/README.md index 5af7cbdcfc..7f861699fc 100644 --- a/gen/bigquery2/README.md +++ b/gen/bigquery2/README.md @@ -87,6 +87,7 @@ google-bigquery2 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_bigquery2 as bigquery2; use bigquery2::Table; @@ -104,9 +105,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Bigquery::new(hyper::Client::new(), auth); +let mut hub = Bigquery::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! diff --git a/gen/bigquery2/src/lib.rs b/gen/bigquery2/src/lib.rs index 38e5e10041..d5eed25dd3 100644 --- a/gen/bigquery2/src/lib.rs +++ b/gen/bigquery2/src/lib.rs @@ -87,6 +87,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_bigquery2 as bigquery2; //! use bigquery2::Table; @@ -105,9 +106,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Bigquery::new(hyper::Client::new(), auth); +//! let mut hub = Bigquery::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! @@ -295,6 +296,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_bigquery2 as bigquery2; /// use bigquery2::Table; @@ -313,9 +315,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Bigquery::new(hyper::Client::new(), auth); +/// let mut hub = Bigquery::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2008,6 +2010,7 @@ impl Part for GoogleSheetsOptions {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_bigquery2 as bigquery2; /// @@ -2018,9 +2021,9 @@ impl Part for GoogleSheetsOptions {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Bigquery::new(hyper::Client::new(), auth); +/// let mut hub = Bigquery::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -2180,6 +2183,7 @@ impl<'a, C, A> TableMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_bigquery2 as bigquery2; /// @@ -2190,9 +2194,9 @@ impl<'a, C, A> TableMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Bigquery::new(hyper::Client::new(), auth); +/// let mut hub = Bigquery::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -2342,6 +2346,7 @@ impl<'a, C, A> DatasetMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_bigquery2 as bigquery2; /// @@ -2352,9 +2357,9 @@ impl<'a, C, A> DatasetMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Bigquery::new(hyper::Client::new(), auth); +/// let mut hub = Bigquery::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `cancel(...)`, `get(...)`, `get_query_results(...)`, `insert(...)`, `list(...)` and `query(...)` /// // to build up your call. @@ -2504,6 +2509,7 @@ impl<'a, C, A> JobMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_bigquery2 as bigquery2; /// @@ -2514,9 +2520,9 @@ impl<'a, C, A> JobMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Bigquery::new(hyper::Client::new(), auth); +/// let mut hub = Bigquery::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `insert_all(...)` and `list(...)` /// // to build up your call. @@ -2593,6 +2599,7 @@ impl<'a, C, A> TabledataMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_bigquery2 as bigquery2; /// @@ -2603,9 +2610,9 @@ impl<'a, C, A> TabledataMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Bigquery::new(hyper::Client::new(), auth); +/// let mut hub = Bigquery::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -2656,6 +2663,7 @@ impl<'a, C, A> ProjectMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_bigquery2 as bigquery2; /// use bigquery2::Table; @@ -2666,9 +2674,9 @@ impl<'a, C, A> ProjectMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Bigquery::new(hyper::Client::new(), auth); +/// # let mut hub = Bigquery::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2946,6 +2954,7 @@ impl<'a, C, A> TableUpdateCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_bigquery2 as bigquery2; /// use bigquery2::Table; @@ -2956,9 +2965,9 @@ impl<'a, C, A> TableUpdateCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Bigquery::new(hyper::Client::new(), auth); +/// # let mut hub = Bigquery::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3224,6 +3233,7 @@ impl<'a, C, A> TableInsertCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_bigquery2 as bigquery2; /// # #[test] fn egal() { @@ -3233,9 +3243,9 @@ impl<'a, C, A> TableInsertCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Bigquery::new(hyper::Client::new(), auth); +/// # let mut hub = Bigquery::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3495,6 +3505,7 @@ impl<'a, C, A> TableListCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_bigquery2 as bigquery2; /// # #[test] fn egal() { @@ -3504,9 +3515,9 @@ impl<'a, C, A> TableListCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Bigquery::new(hyper::Client::new(), auth); +/// # let mut hub = Bigquery::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3743,6 +3754,7 @@ impl<'a, C, A> TableDeleteCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_bigquery2 as bigquery2; /// # #[test] fn egal() { @@ -3752,9 +3764,9 @@ impl<'a, C, A> TableDeleteCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Bigquery::new(hyper::Client::new(), auth); +/// # let mut hub = Bigquery::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4014,6 +4026,7 @@ impl<'a, C, A> TableGetCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_bigquery2 as bigquery2; /// use bigquery2::Table; @@ -4024,9 +4037,9 @@ impl<'a, C, A> TableGetCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Bigquery::new(hyper::Client::new(), auth); +/// # let mut hub = Bigquery::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4304,6 +4317,7 @@ impl<'a, C, A> TablePatchCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_bigquery2 as bigquery2; /// use bigquery2::Dataset; @@ -4314,9 +4328,9 @@ impl<'a, C, A> TablePatchCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Bigquery::new(hyper::Client::new(), auth); +/// # let mut hub = Bigquery::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4582,6 +4596,7 @@ impl<'a, C, A> DatasetPatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_bigquery2 as bigquery2; /// # #[test] fn egal() { @@ -4591,9 +4606,9 @@ impl<'a, C, A> DatasetPatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Bigquery::new(hyper::Client::new(), auth); +/// # let mut hub = Bigquery::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4829,6 +4844,7 @@ impl<'a, C, A> DatasetGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_bigquery2 as bigquery2; /// # #[test] fn egal() { @@ -4838,9 +4854,9 @@ impl<'a, C, A> DatasetGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Bigquery::new(hyper::Client::new(), auth); +/// # let mut hub = Bigquery::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5112,6 +5128,7 @@ impl<'a, C, A> DatasetListCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_bigquery2 as bigquery2; /// use bigquery2::Dataset; @@ -5122,9 +5139,9 @@ impl<'a, C, A> DatasetListCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Bigquery::new(hyper::Client::new(), auth); +/// # let mut hub = Bigquery::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5390,6 +5407,7 @@ impl<'a, C, A> DatasetUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_bigquery2 as bigquery2; /// # #[test] fn egal() { @@ -5399,9 +5417,9 @@ impl<'a, C, A> DatasetUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Bigquery::new(hyper::Client::new(), auth); +/// # let mut hub = Bigquery::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5638,6 +5656,7 @@ impl<'a, C, A> DatasetDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_bigquery2 as bigquery2; /// use bigquery2::Dataset; @@ -5648,9 +5667,9 @@ impl<'a, C, A> DatasetDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Bigquery::new(hyper::Client::new(), auth); +/// # let mut hub = Bigquery::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5904,6 +5923,7 @@ impl<'a, C, A> DatasetInsertCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_bigquery2 as bigquery2; /// # #[test] fn egal() { @@ -5913,9 +5933,9 @@ impl<'a, C, A> DatasetInsertCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Bigquery::new(hyper::Client::new(), auth); +/// # let mut hub = Bigquery::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6151,6 +6171,7 @@ impl<'a, C, A> JobCancelCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_bigquery2 as bigquery2; /// use bigquery2::QueryRequest; @@ -6161,9 +6182,9 @@ impl<'a, C, A> JobCancelCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Bigquery::new(hyper::Client::new(), auth); +/// # let mut hub = Bigquery::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6417,6 +6438,7 @@ impl<'a, C, A> JobQueryCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_bigquery2 as bigquery2; /// # #[test] fn egal() { @@ -6426,9 +6448,9 @@ impl<'a, C, A> JobQueryCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Bigquery::new(hyper::Client::new(), auth); +/// # let mut hub = Bigquery::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6712,6 +6734,7 @@ impl<'a, C, A> JobGetQueryResultCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_bigquery2 as bigquery2; /// # #[test] fn egal() { @@ -6721,9 +6744,9 @@ impl<'a, C, A> JobGetQueryResultCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Bigquery::new(hyper::Client::new(), auth); +/// # let mut hub = Bigquery::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7010,6 +7033,7 @@ impl<'a, C, A> JobListCall<'a, C, A> where C: BorrowMut, A: oauth /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_bigquery2 as bigquery2; /// # #[test] fn egal() { @@ -7019,9 +7043,9 @@ impl<'a, C, A> JobListCall<'a, C, A> where C: BorrowMut, A: oauth /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Bigquery::new(hyper::Client::new(), auth); +/// # let mut hub = Bigquery::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7257,6 +7281,7 @@ impl<'a, C, A> JobGetCall<'a, C, A> where C: BorrowMut, A: oauth2 /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_bigquery2 as bigquery2; /// use bigquery2::Job; @@ -7268,9 +7293,9 @@ impl<'a, C, A> JobGetCall<'a, C, A> where C: BorrowMut, A: oauth2 /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Bigquery::new(hyper::Client::new(), auth); +/// # let mut hub = Bigquery::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7633,6 +7658,7 @@ impl<'a, C, A> JobInsertCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_bigquery2 as bigquery2; /// use bigquery2::TableDataInsertAllRequest; @@ -7643,9 +7669,9 @@ impl<'a, C, A> JobInsertCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Bigquery::new(hyper::Client::new(), auth); +/// # let mut hub = Bigquery::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7923,6 +7949,7 @@ impl<'a, C, A> TabledataInsertAllCall<'a, C, A> where C: BorrowMut TabledataInsertAllCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Bigquery::new(hyper::Client::new(), auth); +/// # let mut hub = Bigquery::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8230,6 +8257,7 @@ impl<'a, C, A> TabledataListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_bigquery2 as bigquery2; /// # #[test] fn egal() { @@ -8239,9 +8267,9 @@ impl<'a, C, A> TabledataListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Bigquery::new(hyper::Client::new(), auth); +/// # let mut hub = Bigquery::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/blogger3-cli/Cargo.toml b/gen/blogger3-cli/Cargo.toml index bb32470036..a4fcd54b19 100644 --- a/gen/blogger3-cli/Cargo.toml +++ b/gen/blogger3-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["blogger", "google", "cli"] [[bin]] name = "blogger3" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/blogger3/Cargo.toml b/gen/blogger3/Cargo.toml index ae87dfa6d3..5dc1a8ffb9 100644 --- a/gen/blogger3/Cargo.toml +++ b/gen/blogger3/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["blogger", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/blogger3/README.md b/gen/blogger3/README.md index 5204ce17af..90fbe4d11f 100644 --- a/gen/blogger3/README.md +++ b/gen/blogger3/README.md @@ -93,6 +93,7 @@ google-blogger3 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_blogger3 as blogger3; use blogger3::{Result, Error}; @@ -109,9 +110,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Blogger::new(hyper::Client::new(), auth); +let mut hub = Blogger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! diff --git a/gen/blogger3/src/lib.rs b/gen/blogger3/src/lib.rs index 5759f04bf6..edae65704f 100644 --- a/gen/blogger3/src/lib.rs +++ b/gen/blogger3/src/lib.rs @@ -93,6 +93,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_blogger3 as blogger3; //! use blogger3::{Result, Error}; @@ -110,9 +111,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Blogger::new(hyper::Client::new(), auth); +//! let mut hub = Blogger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! @@ -285,6 +286,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_blogger3 as blogger3; /// use blogger3::{Result, Error}; @@ -302,9 +304,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Blogger::new(hyper::Client::new(), auth); +/// let mut hub = Blogger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1263,6 +1265,7 @@ impl Part for BlogLocale {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_blogger3 as blogger3; /// @@ -1273,9 +1276,9 @@ impl Part for BlogLocale {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Blogger::new(hyper::Client::new(), auth); +/// let mut hub = Blogger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -1322,6 +1325,7 @@ impl<'a, C, A> PageViewMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_blogger3 as blogger3; /// @@ -1332,9 +1336,9 @@ impl<'a, C, A> PageViewMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Blogger::new(hyper::Client::new(), auth); +/// let mut hub = Blogger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -1380,6 +1384,7 @@ impl<'a, C, A> UserMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_blogger3 as blogger3; /// @@ -1390,9 +1395,9 @@ impl<'a, C, A> UserMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Blogger::new(hyper::Client::new(), auth); +/// let mut hub = Blogger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `get_by_url(...)` and `list_by_user(...)` /// // to build up your call. @@ -1479,6 +1484,7 @@ impl<'a, C, A> BlogMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_blogger3 as blogger3; /// @@ -1489,9 +1495,9 @@ impl<'a, C, A> BlogMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Blogger::new(hyper::Client::new(), auth); +/// let mut hub = Blogger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `get_by_path(...)`, `insert(...)`, `list(...)`, `patch(...)`, `publish(...)`, `revert(...)`, `search(...)` and `update(...)` /// // to build up your call. @@ -1744,6 +1750,7 @@ impl<'a, C, A> PostMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_blogger3 as blogger3; /// @@ -1754,9 +1761,9 @@ impl<'a, C, A> PostMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Blogger::new(hyper::Client::new(), auth); +/// let mut hub = Blogger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `approve(...)`, `delete(...)`, `get(...)`, `list(...)`, `list_by_blog(...)`, `mark_as_spam(...)` and `remove_content(...)` /// // to build up your call. @@ -1940,6 +1947,7 @@ impl<'a, C, A> CommentMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_blogger3 as blogger3; /// @@ -1950,9 +1958,9 @@ impl<'a, C, A> CommentMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Blogger::new(hyper::Client::new(), auth); +/// let mut hub = Blogger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -2031,6 +2039,7 @@ impl<'a, C, A> PostUserInfoMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_blogger3 as blogger3; /// @@ -2041,9 +2050,9 @@ impl<'a, C, A> PostUserInfoMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Blogger::new(hyper::Client::new(), auth); +/// let mut hub = Blogger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -2092,6 +2101,7 @@ impl<'a, C, A> BlogUserInfoMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_blogger3 as blogger3; /// @@ -2102,9 +2112,9 @@ impl<'a, C, A> BlogUserInfoMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Blogger::new(hyper::Client::new(), auth); +/// let mut hub = Blogger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)`, `publish(...)`, `revert(...)` and `update(...)` /// // to build up your call. @@ -2306,6 +2316,7 @@ impl<'a, C, A> PageMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_blogger3 as blogger3; /// # #[test] fn egal() { @@ -2315,9 +2326,9 @@ impl<'a, C, A> PageMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Blogger::new(hyper::Client::new(), auth); +/// # let mut hub = Blogger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2555,6 +2566,7 @@ impl<'a, C, A> PageViewGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_blogger3 as blogger3; /// # #[test] fn egal() { @@ -2564,9 +2576,9 @@ impl<'a, C, A> PageViewGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Blogger::new(hyper::Client::new(), auth); +/// # let mut hub = Blogger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2790,6 +2802,7 @@ impl<'a, C, A> UserGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_blogger3 as blogger3; /// # #[test] fn egal() { @@ -2799,9 +2812,9 @@ impl<'a, C, A> UserGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Blogger::new(hyper::Client::new(), auth); +/// # let mut hub = Blogger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3079,6 +3092,7 @@ impl<'a, C, A> BlogListByUserCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_blogger3 as blogger3; /// # #[test] fn egal() { @@ -3088,9 +3102,9 @@ impl<'a, C, A> BlogListByUserCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Blogger::new(hyper::Client::new(), auth); +/// # let mut hub = Blogger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3338,6 +3352,7 @@ impl<'a, C, A> BlogGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_blogger3 as blogger3; /// # #[test] fn egal() { @@ -3347,9 +3362,9 @@ impl<'a, C, A> BlogGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Blogger::new(hyper::Client::new(), auth); +/// # let mut hub = Blogger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3564,6 +3579,7 @@ impl<'a, C, A> BlogGetByUrlCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_blogger3 as blogger3; /// use blogger3::Post; @@ -3574,9 +3590,9 @@ impl<'a, C, A> BlogGetByUrlCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Blogger::new(hyper::Client::new(), auth); +/// # let mut hub = Blogger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3902,6 +3918,7 @@ impl<'a, C, A> PostUpdateCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_blogger3 as blogger3; /// # #[test] fn egal() { @@ -3911,9 +3928,9 @@ impl<'a, C, A> PostUpdateCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Blogger::new(hyper::Client::new(), auth); +/// # let mut hub = Blogger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4173,6 +4190,7 @@ impl<'a, C, A> PostGetByPathCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_blogger3 as blogger3; /// # #[test] fn egal() { @@ -4182,9 +4200,9 @@ impl<'a, C, A> PostGetByPathCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Blogger::new(hyper::Client::new(), auth); +/// # let mut hub = Blogger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4468,6 +4486,7 @@ impl<'a, C, A> PostGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_blogger3 as blogger3; /// use blogger3::Post; @@ -4478,9 +4497,9 @@ impl<'a, C, A> PostGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Blogger::new(hyper::Client::new(), auth); +/// # let mut hub = Blogger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4770,6 +4789,7 @@ impl<'a, C, A> PostInsertCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_blogger3 as blogger3; /// # #[test] fn egal() { @@ -4779,9 +4799,9 @@ impl<'a, C, A> PostInsertCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Blogger::new(hyper::Client::new(), auth); +/// # let mut hub = Blogger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5029,6 +5049,7 @@ impl<'a, C, A> PostPublishCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_blogger3 as blogger3; /// # #[test] fn egal() { @@ -5038,9 +5059,9 @@ impl<'a, C, A> PostPublishCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Blogger::new(hyper::Client::new(), auth); +/// # let mut hub = Blogger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5265,6 +5286,7 @@ impl<'a, C, A> PostDeleteCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_blogger3 as blogger3; /// # #[test] fn egal() { @@ -5274,9 +5296,9 @@ impl<'a, C, A> PostDeleteCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Blogger::new(hyper::Client::new(), auth); +/// # let mut hub = Blogger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5512,6 +5534,7 @@ impl<'a, C, A> PostRevertCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_blogger3 as blogger3; /// # #[test] fn egal() { @@ -5521,9 +5544,9 @@ impl<'a, C, A> PostRevertCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Blogger::new(hyper::Client::new(), auth); +/// # let mut hub = Blogger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5783,6 +5806,7 @@ impl<'a, C, A> PostSearchCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_blogger3 as blogger3; /// use blogger3::Post; @@ -5793,9 +5817,9 @@ impl<'a, C, A> PostSearchCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Blogger::new(hyper::Client::new(), auth); +/// # let mut hub = Blogger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6121,6 +6145,7 @@ impl<'a, C, A> PostPatchCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_blogger3 as blogger3; /// # #[test] fn egal() { @@ -6130,9 +6155,9 @@ impl<'a, C, A> PostPatchCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Blogger::new(hyper::Client::new(), auth); +/// # let mut hub = Blogger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6479,6 +6504,7 @@ impl<'a, C, A> PostListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_blogger3 as blogger3; /// # #[test] fn egal() { @@ -6488,9 +6514,9 @@ impl<'a, C, A> PostListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Blogger::new(hyper::Client::new(), auth); +/// # let mut hub = Blogger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6750,6 +6776,7 @@ impl<'a, C, A> CommentGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_blogger3 as blogger3; /// # #[test] fn egal() { @@ -6759,9 +6786,9 @@ impl<'a, C, A> CommentGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Blogger::new(hyper::Client::new(), auth); +/// # let mut hub = Blogger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7009,6 +7036,7 @@ impl<'a, C, A> CommentRemoveContentCall<'a, C, A> where C: BorrowMut CommentRemoveContentCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Blogger::new(hyper::Client::new(), auth); +/// # let mut hub = Blogger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7318,6 +7346,7 @@ impl<'a, C, A> CommentListByBlogCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_blogger3 as blogger3; /// # #[test] fn egal() { @@ -7327,9 +7356,9 @@ impl<'a, C, A> CommentListByBlogCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Blogger::new(hyper::Client::new(), auth); +/// # let mut hub = Blogger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7577,6 +7606,7 @@ impl<'a, C, A> CommentMarkAsSpamCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_blogger3 as blogger3; /// # #[test] fn egal() { @@ -7586,9 +7616,9 @@ impl<'a, C, A> CommentMarkAsSpamCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Blogger::new(hyper::Client::new(), auth); +/// # let mut hub = Blogger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7910,6 +7940,7 @@ impl<'a, C, A> CommentListCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_blogger3 as blogger3; /// # #[test] fn egal() { @@ -7919,9 +7950,9 @@ impl<'a, C, A> CommentListCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Blogger::new(hyper::Client::new(), auth); +/// # let mut hub = Blogger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8169,6 +8200,7 @@ impl<'a, C, A> CommentApproveCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_blogger3 as blogger3; /// # #[test] fn egal() { @@ -8178,9 +8210,9 @@ impl<'a, C, A> CommentApproveCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Blogger::new(hyper::Client::new(), auth); +/// # let mut hub = Blogger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8417,6 +8449,7 @@ impl<'a, C, A> CommentDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_blogger3 as blogger3; /// # #[test] fn egal() { @@ -8426,9 +8459,9 @@ impl<'a, C, A> CommentDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Blogger::new(hyper::Client::new(), auth); +/// # let mut hub = Blogger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8688,6 +8721,7 @@ impl<'a, C, A> PostUserInfoGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_blogger3 as blogger3; /// # #[test] fn egal() { @@ -8697,9 +8731,9 @@ impl<'a, C, A> PostUserInfoGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Blogger::new(hyper::Client::new(), auth); +/// # let mut hub = Blogger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9045,6 +9079,7 @@ impl<'a, C, A> PostUserInfoListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_blogger3 as blogger3; /// # #[test] fn egal() { @@ -9054,9 +9089,9 @@ impl<'a, C, A> PostUserInfoListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Blogger::new(hyper::Client::new(), auth); +/// # let mut hub = Blogger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9304,6 +9339,7 @@ impl<'a, C, A> BlogUserInfoGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_blogger3 as blogger3; /// # #[test] fn egal() { @@ -9313,9 +9349,9 @@ impl<'a, C, A> BlogUserInfoGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Blogger::new(hyper::Client::new(), auth); +/// # let mut hub = Blogger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9562,6 +9598,7 @@ impl<'a, C, A> PageGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_blogger3 as blogger3; /// # #[test] fn egal() { @@ -9571,9 +9608,9 @@ impl<'a, C, A> PageGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Blogger::new(hyper::Client::new(), auth); +/// # let mut hub = Blogger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9859,6 +9896,7 @@ impl<'a, C, A> PageListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_blogger3 as blogger3; /// # #[test] fn egal() { @@ -9868,9 +9906,9 @@ impl<'a, C, A> PageListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Blogger::new(hyper::Client::new(), auth); +/// # let mut hub = Blogger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10106,6 +10144,7 @@ impl<'a, C, A> PageRevertCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_blogger3 as blogger3; /// use blogger3::Page; @@ -10116,9 +10155,9 @@ impl<'a, C, A> PageRevertCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Blogger::new(hyper::Client::new(), auth); +/// # let mut hub = Blogger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10384,6 +10423,7 @@ impl<'a, C, A> PageInsertCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_blogger3 as blogger3; /// use blogger3::Page; @@ -10394,9 +10434,9 @@ impl<'a, C, A> PageInsertCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Blogger::new(hyper::Client::new(), auth); +/// # let mut hub = Blogger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10686,6 +10726,7 @@ impl<'a, C, A> PagePatchCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_blogger3 as blogger3; /// # #[test] fn egal() { @@ -10695,9 +10736,9 @@ impl<'a, C, A> PagePatchCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Blogger::new(hyper::Client::new(), auth); +/// # let mut hub = Blogger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10933,6 +10974,7 @@ impl<'a, C, A> PagePublishCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_blogger3 as blogger3; /// use blogger3::Page; @@ -10943,9 +10985,9 @@ impl<'a, C, A> PagePublishCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Blogger::new(hyper::Client::new(), auth); +/// # let mut hub = Blogger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11235,6 +11277,7 @@ impl<'a, C, A> PageUpdateCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_blogger3 as blogger3; /// # #[test] fn egal() { @@ -11244,9 +11287,9 @@ impl<'a, C, A> PageUpdateCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Blogger::new(hyper::Client::new(), auth); +/// # let mut hub = Blogger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/books1-cli/Cargo.toml b/gen/books1-cli/Cargo.toml index 7c5fb0fd11..4627594e50 100644 --- a/gen/books1-cli/Cargo.toml +++ b/gen/books1-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["books", "google", "cli"] [[bin]] name = "books1" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/books1/Cargo.toml b/gen/books1/Cargo.toml index dd040c02ed..51e4ab971b 100644 --- a/gen/books1/Cargo.toml +++ b/gen/books1/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["books", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/books1/README.md b/gen/books1/README.md index 27b2661351..24a51bf6ed 100644 --- a/gen/books1/README.md +++ b/gen/books1/README.md @@ -99,6 +99,7 @@ google-books1 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_books1 as books1; use books1::{Result, Error}; @@ -115,9 +116,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Books::new(hyper::Client::new(), auth); +let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! diff --git a/gen/books1/src/lib.rs b/gen/books1/src/lib.rs index 86bbea7d90..f6e2623f36 100644 --- a/gen/books1/src/lib.rs +++ b/gen/books1/src/lib.rs @@ -99,6 +99,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_books1 as books1; //! use books1::{Result, Error}; @@ -116,9 +117,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Books::new(hyper::Client::new(), auth); +//! let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! @@ -290,6 +291,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_books1 as books1; /// use books1::{Result, Error}; @@ -307,9 +309,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Books::new(hyper::Client::new(), auth); +/// let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2493,6 +2495,7 @@ impl Part for AnnotationsSummaryLayers {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_books1 as books1; /// @@ -2503,9 +2506,9 @@ impl Part for AnnotationsSummaryLayers {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Books::new(hyper::Client::new(), auth); +/// let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `annotation_data_get(...)`, `annotation_data_list(...)`, `get(...)`, `list(...)`, `volume_annotations_get(...)` and `volume_annotations_list(...)` /// // to build up your call. @@ -2692,6 +2695,7 @@ impl<'a, C, A> LayerMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_books1 as books1; /// @@ -2702,9 +2706,9 @@ impl<'a, C, A> LayerMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Books::new(hyper::Client::new(), auth); +/// let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `associated_list(...)`, `get(...)`, `list(...)`, `mybooks_list(...)`, `recommended_list(...)`, `recommended_rate(...)` and `useruploaded_list(...)` /// // to build up your call. @@ -2880,6 +2884,7 @@ impl<'a, C, A> VolumeMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_books1 as books1; /// @@ -2890,9 +2895,9 @@ impl<'a, C, A> VolumeMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Books::new(hyper::Client::new(), auth); +/// let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list_offline_metadata(...)` /// // to build up your call. @@ -2938,6 +2943,7 @@ impl<'a, C, A> DictionaryMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_books1 as books1; /// @@ -2948,9 +2954,9 @@ impl<'a, C, A> DictionaryMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Books::new(hyper::Client::new(), auth); +/// let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `membership_get(...)` /// // to build up your call. @@ -3015,6 +3021,7 @@ impl<'a, C, A> SeryMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_books1 as books1; /// @@ -3025,9 +3032,9 @@ impl<'a, C, A> SeryMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Books::new(hyper::Client::new(), auth); +/// let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `list(...)` and `volumes_list(...)` /// // to build up your call. @@ -3117,6 +3124,7 @@ impl<'a, C, A> BookshelveMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_books1 as books1; /// @@ -3127,9 +3135,9 @@ impl<'a, C, A> BookshelveMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Books::new(hyper::Client::new(), auth); +/// let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `accept(...)`, `dismiss(...)` and `get(...)` /// // to build up your call. @@ -3215,6 +3223,7 @@ impl<'a, C, A> PromoofferMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_books1 as books1; /// @@ -3225,9 +3234,9 @@ impl<'a, C, A> PromoofferMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Books::new(hyper::Client::new(), auth); +/// let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -3271,6 +3280,7 @@ impl<'a, C, A> PersonalizedstreamMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_books1 as books1; /// @@ -3281,9 +3291,9 @@ impl<'a, C, A> PersonalizedstreamMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Books::new(hyper::Client::new(), auth); +/// let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list_categories(...)` and `list_category_volumes(...)` /// // to build up your call. @@ -3342,6 +3352,7 @@ impl<'a, C, A> OnboardingMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_books1 as books1; /// @@ -3352,9 +3363,9 @@ impl<'a, C, A> OnboardingMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Books::new(hyper::Client::new(), auth); +/// let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get_user_settings(...)`, `release_download_access(...)`, `request_access(...)`, `sync_volume_licenses(...)` and `update_user_settings(...)` /// // to build up your call. @@ -3484,6 +3495,7 @@ impl<'a, C, A> MyconfigMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_books1 as books1; /// @@ -3494,9 +3506,9 @@ impl<'a, C, A> MyconfigMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Books::new(hyper::Client::new(), auth); +/// let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `annotations_delete(...)`, `annotations_insert(...)`, `annotations_list(...)`, `annotations_summary(...)`, `annotations_update(...)`, `bookshelves_add_volume(...)`, `bookshelves_clear_volumes(...)`, `bookshelves_get(...)`, `bookshelves_list(...)`, `bookshelves_move_volume(...)`, `bookshelves_remove_volume(...)`, `bookshelves_volumes_list(...)`, `readingpositions_get(...)` and `readingpositions_set_position(...)` /// // to build up your call. @@ -3806,6 +3818,7 @@ impl<'a, C, A> MylibraryMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_books1 as books1; /// @@ -3816,9 +3829,9 @@ impl<'a, C, A> MylibraryMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Books::new(hyper::Client::new(), auth); +/// let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -3866,6 +3879,7 @@ impl<'a, C, A> NotificationMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_books1 as books1; /// @@ -3876,9 +3890,9 @@ impl<'a, C, A> NotificationMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Books::new(hyper::Client::new(), auth); +/// let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `add_book(...)`, `delete_book(...)` and `update_book(...)` /// // to build up your call. @@ -3965,6 +3979,7 @@ impl<'a, C, A> CloudloadingMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_books1 as books1; /// # #[test] fn egal() { @@ -3974,9 +3989,9 @@ impl<'a, C, A> CloudloadingMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Books::new(hyper::Client::new(), auth); +/// # let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4308,6 +4323,7 @@ impl<'a, C, A> LayerAnnotationDataGetCall<'a, C, A> where C: BorrowMut LayerAnnotationDataGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Books::new(hyper::Client::new(), auth); +/// # let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4591,6 +4607,7 @@ impl<'a, C, A> LayerVolumeAnnotationGetCall<'a, C, A> where C: BorrowMut LayerVolumeAnnotationGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Books::new(hyper::Client::new(), auth); +/// # let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4874,6 +4891,7 @@ impl<'a, C, A> LayerListCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_books1 as books1; /// # #[test] fn egal() { @@ -4883,9 +4901,9 @@ impl<'a, C, A> LayerListCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Books::new(hyper::Client::new(), auth); +/// # let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5145,6 +5163,7 @@ impl<'a, C, A> LayerGetCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_books1 as books1; /// # #[test] fn egal() { @@ -5154,9 +5173,9 @@ impl<'a, C, A> LayerGetCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Books::new(hyper::Client::new(), auth); +/// # let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5548,6 +5567,7 @@ impl<'a, C, A> LayerVolumeAnnotationListCall<'a, C, A> where C: BorrowMut LayerVolumeAnnotationListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Books::new(hyper::Client::new(), auth); +/// # let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5930,6 +5950,7 @@ impl<'a, C, A> LayerAnnotationDataListCall<'a, C, A> where C: BorrowMut LayerAnnotationDataListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Books::new(hyper::Client::new(), auth); +/// # let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6180,6 +6201,7 @@ impl<'a, C, A> VolumeRecommendedRateCall<'a, C, A> where C: BorrowMut VolumeRecommendedRateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Books::new(hyper::Client::new(), auth); +/// # let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6486,6 +6508,7 @@ impl<'a, C, A> VolumeGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_books1 as books1; /// # #[test] fn egal() { @@ -6495,9 +6518,9 @@ impl<'a, C, A> VolumeGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Books::new(hyper::Client::new(), auth); +/// # let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6778,6 +6801,7 @@ impl<'a, C, A> VolumeMybookListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_books1 as books1; /// # #[test] fn egal() { @@ -6787,9 +6811,9 @@ impl<'a, C, A> VolumeMybookListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Books::new(hyper::Client::new(), auth); +/// # let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7148,6 +7172,7 @@ impl<'a, C, A> VolumeListCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_books1 as books1; /// # #[test] fn egal() { @@ -7157,9 +7182,9 @@ impl<'a, C, A> VolumeListCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Books::new(hyper::Client::new(), auth); +/// # let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7428,6 +7453,7 @@ impl<'a, C, A> VolumeUseruploadedListCall<'a, C, A> where C: BorrowMut VolumeUseruploadedListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Books::new(hyper::Client::new(), auth); +/// # let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7711,6 +7737,7 @@ impl<'a, C, A> VolumeAssociatedListCall<'a, C, A> where C: BorrowMut VolumeAssociatedListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Books::new(hyper::Client::new(), auth); +/// # let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7949,6 +7976,7 @@ impl<'a, C, A> VolumeRecommendedListCall<'a, C, A> where C: BorrowMut VolumeRecommendedListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Books::new(hyper::Client::new(), auth); +/// # let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8163,6 +8191,7 @@ impl<'a, C, A> DictionaryListOfflineMetadataCall<'a, C, A> where C: BorrowMut DictionaryListOfflineMetadataCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Books::new(hyper::Client::new(), auth); +/// # let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8382,6 +8411,7 @@ impl<'a, C, A> SeryGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_books1 as books1; /// # #[test] fn egal() { @@ -8391,9 +8421,9 @@ impl<'a, C, A> SeryGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Books::new(hyper::Client::new(), auth); +/// # let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8620,6 +8650,7 @@ impl<'a, C, A> SeryMembershipGetCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_books1 as books1; /// # #[test] fn egal() { @@ -8629,9 +8660,9 @@ impl<'a, C, A> SeryMembershipGetCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Books::new(hyper::Client::new(), auth); +/// # let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8915,6 +8946,7 @@ impl<'a, C, A> BookshelveVolumeListCall<'a, C, A> where C: BorrowMut BookshelveVolumeListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Books::new(hyper::Client::new(), auth); +/// # let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9162,6 +9194,7 @@ impl<'a, C, A> BookshelveListCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_books1 as books1; /// # #[test] fn egal() { @@ -9171,9 +9204,9 @@ impl<'a, C, A> BookshelveListCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Books::new(hyper::Client::new(), auth); +/// # let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9421,6 +9454,7 @@ impl<'a, C, A> BookshelveGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_books1 as books1; /// # #[test] fn egal() { @@ -9430,9 +9464,9 @@ impl<'a, C, A> BookshelveGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Books::new(hyper::Client::new(), auth); +/// # let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9707,6 +9741,7 @@ impl<'a, C, A> PromoofferAcceptCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_books1 as books1; /// # #[test] fn egal() { @@ -9716,9 +9751,9 @@ impl<'a, C, A> PromoofferAcceptCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Books::new(hyper::Client::new(), auth); +/// # let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9982,6 +10017,7 @@ impl<'a, C, A> PromoofferDismisCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_books1 as books1; /// # #[test] fn egal() { @@ -9991,9 +10027,9 @@ impl<'a, C, A> PromoofferDismisCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Books::new(hyper::Client::new(), auth); +/// # let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10256,6 +10292,7 @@ impl<'a, C, A> PromoofferGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_books1 as books1; /// # #[test] fn egal() { @@ -10265,9 +10302,9 @@ impl<'a, C, A> PromoofferGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Books::new(hyper::Client::new(), auth); +/// # let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10494,6 +10531,7 @@ impl<'a, C, A> PersonalizedstreamGetCall<'a, C, A> where C: BorrowMut PersonalizedstreamGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Books::new(hyper::Client::new(), auth); +/// # let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10708,6 +10746,7 @@ impl<'a, C, A> OnboardingListCategoryCall<'a, C, A> where C: BorrowMut OnboardingListCategoryCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Books::new(hyper::Client::new(), auth); +/// # let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10973,6 +11012,7 @@ impl<'a, C, A> OnboardingListCategoryVolumeCall<'a, C, A> where C: BorrowMut OnboardingListCategoryVolumeCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Books::new(hyper::Client::new(), auth); +/// # let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11247,6 +11287,7 @@ impl<'a, C, A> MyconfigRequestAccesCall<'a, C, A> where C: BorrowMut MyconfigRequestAccesCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Books::new(hyper::Client::new(), auth); +/// # let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11502,6 +11543,7 @@ impl<'a, C, A> MyconfigReleaseDownloadAccesCall<'a, C, A> where C: BorrowMut MyconfigReleaseDownloadAccesCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Books::new(hyper::Client::new(), auth); +/// # let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11806,6 +11848,7 @@ impl<'a, C, A> MyconfigSyncVolumeLicenseCall<'a, C, A> where C: BorrowMut MyconfigSyncVolumeLicenseCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Books::new(hyper::Client::new(), auth); +/// # let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12008,6 +12051,7 @@ impl<'a, C, A> MyconfigGetUserSettingCall<'a, C, A> where C: BorrowMut MyconfigGetUserSettingCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Books::new(hyper::Client::new(), auth); +/// # let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12241,6 +12285,7 @@ impl<'a, C, A> MyconfigUpdateUserSettingCall<'a, C, A> where C: BorrowMut MyconfigUpdateUserSettingCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Books::new(hyper::Client::new(), auth); +/// # let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12477,6 +12522,7 @@ impl<'a, C, A> MylibraryBookshelveClearVolumeCall<'a, C, A> where C: BorrowMut MylibraryBookshelveClearVolumeCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Books::new(hyper::Client::new(), auth); +/// # let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12737,6 +12783,7 @@ impl<'a, C, A> MylibraryBookshelveMoveVolumeCall<'a, C, A> where C: BorrowMut MylibraryBookshelveMoveVolumeCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Books::new(hyper::Client::new(), auth); +/// # let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13056,6 +13103,7 @@ impl<'a, C, A> MylibraryBookshelveVolumeListCall<'a, C, A> where C: BorrowMut MylibraryBookshelveVolumeListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Books::new(hyper::Client::new(), auth); +/// # let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13287,6 +13335,7 @@ impl<'a, C, A> MylibraryAnnotationSummaryCall<'a, C, A> where C: BorrowMut MylibraryAnnotationSummaryCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Books::new(hyper::Client::new(), auth); +/// # let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13523,6 +13572,7 @@ impl<'a, C, A> MylibraryAnnotationDeleteCall<'a, C, A> where C: BorrowMut MylibraryAnnotationDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Books::new(hyper::Client::new(), auth); +/// # let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13783,6 +13833,7 @@ impl<'a, C, A> MylibraryBookshelveAddVolumeCall<'a, C, A> where C: BorrowMut MylibraryBookshelveAddVolumeCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Books::new(hyper::Client::new(), auth); +/// # let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14064,6 +14115,7 @@ impl<'a, C, A> MylibraryAnnotationInsertCall<'a, C, A> where C: BorrowMut MylibraryAnnotationInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Books::new(hyper::Client::new(), auth); +/// # let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14324,6 +14376,7 @@ impl<'a, C, A> MylibraryBookshelveRemoveVolumeCall<'a, C, A> where C: BorrowMut< /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_books1 as books1; /// # #[test] fn egal() { @@ -14333,9 +14386,9 @@ impl<'a, C, A> MylibraryBookshelveRemoveVolumeCall<'a, C, A> where C: BorrowMut< /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Books::new(hyper::Client::new(), auth); +/// # let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14649,6 +14702,7 @@ impl<'a, C, A> MylibraryAnnotationListCall<'a, C, A> where C: BorrowMut MylibraryAnnotationListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Books::new(hyper::Client::new(), auth); +/// # let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14927,6 +14981,7 @@ impl<'a, C, A> MylibraryAnnotationUpdateCall<'a, C, A> where C: BorrowMut MylibraryAnnotationUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Books::new(hyper::Client::new(), auth); +/// # let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15223,6 +15278,7 @@ impl<'a, C, A> MylibraryReadingpositionSetPositionCall<'a, C, A> where C: Borrow /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_books1 as books1; /// # #[test] fn egal() { @@ -15232,9 +15288,9 @@ impl<'a, C, A> MylibraryReadingpositionSetPositionCall<'a, C, A> where C: Borrow /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Books::new(hyper::Client::new(), auth); +/// # let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15470,6 +15526,7 @@ impl<'a, C, A> MylibraryBookshelveGetCall<'a, C, A> where C: BorrowMut MylibraryBookshelveGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Books::new(hyper::Client::new(), auth); +/// # let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15684,6 +15741,7 @@ impl<'a, C, A> MylibraryBookshelveListCall<'a, C, A> where C: BorrowMut MylibraryBookshelveListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Books::new(hyper::Client::new(), auth); +/// # let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15943,6 +16001,7 @@ impl<'a, C, A> MylibraryReadingpositionGetCall<'a, C, A> where C: BorrowMut MylibraryReadingpositionGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Books::new(hyper::Client::new(), auth); +/// # let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16181,6 +16240,7 @@ impl<'a, C, A> NotificationGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_books1 as books1; /// # #[test] fn egal() { @@ -16190,9 +16250,9 @@ impl<'a, C, A> NotificationGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Books::new(hyper::Client::new(), auth); +/// # let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16430,6 +16490,7 @@ impl<'a, C, A> CloudloadingAddBookCall<'a, C, A> where C: BorrowMut CloudloadingAddBookCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Books::new(hyper::Client::new(), auth); +/// # let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16663,6 +16724,7 @@ impl<'a, C, A> CloudloadingUpdateBookCall<'a, C, A> where C: BorrowMut CloudloadingUpdateBookCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Books::new(hyper::Client::new(), auth); +/// # let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/calendar3-cli/Cargo.toml b/gen/calendar3-cli/Cargo.toml index 8e5cff48aa..93960a44e7 100644 --- a/gen/calendar3-cli/Cargo.toml +++ b/gen/calendar3-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["calendar", "google", "cli"] [[bin]] name = "calendar3" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/calendar3/Cargo.toml b/gen/calendar3/Cargo.toml index e132aefb4a..5c9a087afc 100644 --- a/gen/calendar3/Cargo.toml +++ b/gen/calendar3/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["calendar", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/calendar3/README.md b/gen/calendar3/README.md index b6fa995009..d4d8e23016 100644 --- a/gen/calendar3/README.md +++ b/gen/calendar3/README.md @@ -106,6 +106,7 @@ google-calendar3 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_calendar3 as calendar3; use calendar3::Channel; @@ -123,9 +124,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = CalendarHub::new(hyper::Client::new(), auth); +let mut hub = CalendarHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! diff --git a/gen/calendar3/src/lib.rs b/gen/calendar3/src/lib.rs index 04339cb8cc..070762f3aa 100644 --- a/gen/calendar3/src/lib.rs +++ b/gen/calendar3/src/lib.rs @@ -106,6 +106,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_calendar3 as calendar3; //! use calendar3::Channel; @@ -124,9 +125,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = CalendarHub::new(hyper::Client::new(), auth); +//! let mut hub = CalendarHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! @@ -311,6 +312,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_calendar3 as calendar3; /// use calendar3::Channel; @@ -329,9 +331,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = CalendarHub::new(hyper::Client::new(), auth); +/// let mut hub = CalendarHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1411,6 +1413,7 @@ impl ResponseResult for Event {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_calendar3 as calendar3; /// @@ -1421,9 +1424,9 @@ impl ResponseResult for Event {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = CalendarHub::new(hyper::Client::new(), auth); +/// let mut hub = CalendarHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `query(...)` /// // to build up your call. @@ -1469,6 +1472,7 @@ impl<'a, C, A> FreebusyMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_calendar3 as calendar3; /// @@ -1479,9 +1483,9 @@ impl<'a, C, A> FreebusyMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = CalendarHub::new(hyper::Client::new(), auth); +/// let mut hub = CalendarHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `list(...)` and `watch(...)` /// // to build up your call. @@ -1562,6 +1566,7 @@ impl<'a, C, A> SettingMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_calendar3 as calendar3; /// @@ -1572,9 +1577,9 @@ impl<'a, C, A> SettingMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = CalendarHub::new(hyper::Client::new(), auth); +/// let mut hub = CalendarHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)`, `update(...)` and `watch(...)` /// // to build up your call. @@ -1736,6 +1741,7 @@ impl<'a, C, A> CalendarListMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_calendar3 as calendar3; /// @@ -1746,9 +1752,9 @@ impl<'a, C, A> CalendarListMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = CalendarHub::new(hyper::Client::new(), auth); +/// let mut hub = CalendarHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `clear(...)`, `delete(...)`, `get(...)`, `insert(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -1883,6 +1889,7 @@ impl<'a, C, A> CalendarMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_calendar3 as calendar3; /// @@ -1893,9 +1900,9 @@ impl<'a, C, A> CalendarMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = CalendarHub::new(hyper::Client::new(), auth); +/// let mut hub = CalendarHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)`, `update(...)` and `watch(...)` /// // to build up your call. @@ -2067,6 +2074,7 @@ impl<'a, C, A> AclMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_calendar3 as calendar3; /// @@ -2077,9 +2085,9 @@ impl<'a, C, A> AclMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = CalendarHub::new(hyper::Client::new(), auth); +/// let mut hub = CalendarHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `stop(...)` /// // to build up your call. @@ -2125,6 +2133,7 @@ impl<'a, C, A> ChannelMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_calendar3 as calendar3; /// @@ -2135,9 +2144,9 @@ impl<'a, C, A> ChannelMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = CalendarHub::new(hyper::Client::new(), auth); +/// let mut hub = CalendarHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -2178,6 +2187,7 @@ impl<'a, C, A> ColorMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_calendar3 as calendar3; /// @@ -2188,9 +2198,9 @@ impl<'a, C, A> ColorMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = CalendarHub::new(hyper::Client::new(), auth); +/// let mut hub = CalendarHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `import(...)`, `insert(...)`, `instances(...)`, `list(...)`, `move_(...)`, `patch(...)`, `quick_add(...)`, `update(...)` and `watch(...)` /// // to build up your call. @@ -2501,6 +2511,7 @@ impl<'a, C, A> EventMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_calendar3 as calendar3; /// use calendar3::FreeBusyRequest; @@ -2511,9 +2522,9 @@ impl<'a, C, A> EventMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CalendarHub::new(hyper::Client::new(), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2734,6 +2745,7 @@ impl<'a, C, A> FreebusyQueryCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_calendar3 as calendar3; /// # #[test] fn egal() { @@ -2743,9 +2755,9 @@ impl<'a, C, A> FreebusyQueryCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CalendarHub::new(hyper::Client::new(), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2975,6 +2987,7 @@ impl<'a, C, A> SettingListCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_calendar3 as calendar3; /// use calendar3::Channel; @@ -2985,9 +2998,9 @@ impl<'a, C, A> SettingListCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CalendarHub::new(hyper::Client::new(), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3247,6 +3260,7 @@ impl<'a, C, A> SettingWatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_calendar3 as calendar3; /// # #[test] fn egal() { @@ -3256,9 +3270,9 @@ impl<'a, C, A> SettingWatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CalendarHub::new(hyper::Client::new(), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3482,6 +3496,7 @@ impl<'a, C, A> SettingGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_calendar3 as calendar3; /// use calendar3::CalendarListEntry; @@ -3492,9 +3507,9 @@ impl<'a, C, A> SettingGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CalendarHub::new(hyper::Client::new(), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3760,6 +3775,7 @@ impl<'a, C, A> CalendarListUpdateCall<'a, C, A> where C: BorrowMut CalendarListUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CalendarHub::new(hyper::Client::new(), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3984,6 +4000,7 @@ impl<'a, C, A> CalendarListDeleteCall<'a, C, A> where C: BorrowMut CalendarListDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CalendarHub::new(hyper::Client::new(), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4219,6 +4236,7 @@ impl<'a, C, A> CalendarListGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_calendar3 as calendar3; /// # #[test] fn egal() { @@ -4228,9 +4246,9 @@ impl<'a, C, A> CalendarListGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CalendarHub::new(hyper::Client::new(), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4497,6 +4515,7 @@ impl<'a, C, A> CalendarListListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_calendar3 as calendar3; /// use calendar3::CalendarListEntry; @@ -4507,9 +4526,9 @@ impl<'a, C, A> CalendarListListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CalendarHub::new(hyper::Client::new(), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4742,6 +4761,7 @@ impl<'a, C, A> CalendarListInsertCall<'a, C, A> where C: BorrowMut CalendarListInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CalendarHub::new(hyper::Client::new(), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5020,6 +5040,7 @@ impl<'a, C, A> CalendarListPatchCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_calendar3 as calendar3; /// use calendar3::Channel; @@ -5030,9 +5051,9 @@ impl<'a, C, A> CalendarListPatchCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CalendarHub::new(hyper::Client::new(), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5329,6 +5350,7 @@ impl<'a, C, A> CalendarListWatchCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_calendar3 as calendar3; /// use calendar3::Calendar; @@ -5339,9 +5361,9 @@ impl<'a, C, A> CalendarListWatchCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CalendarHub::new(hyper::Client::new(), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5595,6 +5617,7 @@ impl<'a, C, A> CalendarPatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_calendar3 as calendar3; /// # #[test] fn egal() { @@ -5604,9 +5627,9 @@ impl<'a, C, A> CalendarPatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CalendarHub::new(hyper::Client::new(), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5819,6 +5842,7 @@ impl<'a, C, A> CalendarDeleteCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_calendar3 as calendar3; /// # #[test] fn egal() { @@ -5828,9 +5852,9 @@ impl<'a, C, A> CalendarDeleteCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CalendarHub::new(hyper::Client::new(), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6054,6 +6078,7 @@ impl<'a, C, A> CalendarGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_calendar3 as calendar3; /// # #[test] fn egal() { @@ -6063,9 +6088,9 @@ impl<'a, C, A> CalendarGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CalendarHub::new(hyper::Client::new(), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6278,6 +6303,7 @@ impl<'a, C, A> CalendarClearCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_calendar3 as calendar3; /// use calendar3::Calendar; @@ -6288,9 +6314,9 @@ impl<'a, C, A> CalendarClearCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CalendarHub::new(hyper::Client::new(), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6511,6 +6537,7 @@ impl<'a, C, A> CalendarInsertCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_calendar3 as calendar3; /// use calendar3::Calendar; @@ -6521,9 +6548,9 @@ impl<'a, C, A> CalendarInsertCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CalendarHub::new(hyper::Client::new(), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6777,6 +6804,7 @@ impl<'a, C, A> CalendarUpdateCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_calendar3 as calendar3; /// use calendar3::Channel; @@ -6787,9 +6815,9 @@ impl<'a, C, A> CalendarUpdateCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CalendarHub::new(hyper::Client::new(), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7094,6 +7122,7 @@ impl<'a, C, A> AclWatchCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_calendar3 as calendar3; /// use calendar3::AclRule; @@ -7104,9 +7133,9 @@ impl<'a, C, A> AclWatchCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CalendarHub::new(hyper::Client::new(), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7360,6 +7389,7 @@ impl<'a, C, A> AclInsertCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_calendar3 as calendar3; /// use calendar3::AclRule; @@ -7370,9 +7400,9 @@ impl<'a, C, A> AclInsertCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CalendarHub::new(hyper::Client::new(), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7638,6 +7668,7 @@ impl<'a, C, A> AclUpdateCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_calendar3 as calendar3; /// use calendar3::AclRule; @@ -7648,9 +7679,9 @@ impl<'a, C, A> AclUpdateCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CalendarHub::new(hyper::Client::new(), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7916,6 +7947,7 @@ impl<'a, C, A> AclPatchCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_calendar3 as calendar3; /// # #[test] fn egal() { @@ -7925,9 +7957,9 @@ impl<'a, C, A> AclPatchCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CalendarHub::new(hyper::Client::new(), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8202,6 +8234,7 @@ impl<'a, C, A> AclListCall<'a, C, A> where C: BorrowMut, A: oauth /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_calendar3 as calendar3; /// # #[test] fn egal() { @@ -8211,9 +8244,9 @@ impl<'a, C, A> AclListCall<'a, C, A> where C: BorrowMut, A: oauth /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CalendarHub::new(hyper::Client::new(), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8438,6 +8471,7 @@ impl<'a, C, A> AclDeleteCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_calendar3 as calendar3; /// # #[test] fn egal() { @@ -8447,9 +8481,9 @@ impl<'a, C, A> AclDeleteCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CalendarHub::new(hyper::Client::new(), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8685,6 +8719,7 @@ impl<'a, C, A> AclGetCall<'a, C, A> where C: BorrowMut, A: oauth2 /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_calendar3 as calendar3; /// use calendar3::Channel; @@ -8695,9 +8730,9 @@ impl<'a, C, A> AclGetCall<'a, C, A> where C: BorrowMut, A: oauth2 /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CalendarHub::new(hyper::Client::new(), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8907,6 +8942,7 @@ impl<'a, C, A> ChannelStopCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_calendar3 as calendar3; /// # #[test] fn egal() { @@ -8916,9 +8952,9 @@ impl<'a, C, A> ChannelStopCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CalendarHub::new(hyper::Client::new(), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9109,6 +9145,7 @@ impl<'a, C, A> ColorGetCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_calendar3 as calendar3; /// # #[test] fn egal() { @@ -9118,9 +9155,9 @@ impl<'a, C, A> ColorGetCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CalendarHub::new(hyper::Client::new(), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9357,6 +9394,7 @@ impl<'a, C, A> EventDeleteCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_calendar3 as calendar3; /// use calendar3::Event; @@ -9367,9 +9405,9 @@ impl<'a, C, A> EventDeleteCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CalendarHub::new(hyper::Client::new(), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9659,6 +9697,7 @@ impl<'a, C, A> EventInsertCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_calendar3 as calendar3; /// use calendar3::Event; @@ -9669,9 +9708,9 @@ impl<'a, C, A> EventInsertCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CalendarHub::new(hyper::Client::new(), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9937,6 +9976,7 @@ impl<'a, C, A> EventImportCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_calendar3 as calendar3; /// # #[test] fn egal() { @@ -9946,9 +9986,9 @@ impl<'a, C, A> EventImportCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CalendarHub::new(hyper::Client::new(), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10292,6 +10332,7 @@ impl<'a, C, A> EventInstanceCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_calendar3 as calendar3; /// # #[test] fn egal() { @@ -10301,9 +10342,9 @@ impl<'a, C, A> EventInstanceCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CalendarHub::new(hyper::Client::new(), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10575,6 +10616,7 @@ impl<'a, C, A> EventGetCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_calendar3 as calendar3; /// # #[test] fn egal() { @@ -10584,9 +10626,9 @@ impl<'a, C, A> EventGetCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CalendarHub::new(hyper::Client::new(), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11033,6 +11075,7 @@ impl<'a, C, A> EventListCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_calendar3 as calendar3; /// use calendar3::Event; @@ -11043,9 +11086,9 @@ impl<'a, C, A> EventListCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CalendarHub::new(hyper::Client::new(), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11359,6 +11402,7 @@ impl<'a, C, A> EventPatchCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_calendar3 as calendar3; /// # #[test] fn egal() { @@ -11368,9 +11412,9 @@ impl<'a, C, A> EventPatchCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CalendarHub::new(hyper::Client::new(), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11630,6 +11674,7 @@ impl<'a, C, A> EventMoveCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_calendar3 as calendar3; /// use calendar3::Event; @@ -11640,9 +11685,9 @@ impl<'a, C, A> EventMoveCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CalendarHub::new(hyper::Client::new(), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11956,6 +12001,7 @@ impl<'a, C, A> EventUpdateCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_calendar3 as calendar3; /// use calendar3::Channel; @@ -11966,9 +12012,9 @@ impl<'a, C, A> EventUpdateCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CalendarHub::new(hyper::Client::new(), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12445,6 +12491,7 @@ impl<'a, C, A> EventWatchCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_calendar3 as calendar3; /// # #[test] fn egal() { @@ -12454,9 +12501,9 @@ impl<'a, C, A> EventWatchCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CalendarHub::new(hyper::Client::new(), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/classroom1-cli/Cargo.toml b/gen/classroom1-cli/Cargo.toml index 9b9b3e68d5..68672b47c9 100644 --- a/gen/classroom1-cli/Cargo.toml +++ b/gen/classroom1-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["classroom", "google", "cli"] [[bin]] name = "classroom1" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/classroom1/Cargo.toml b/gen/classroom1/Cargo.toml index e9c9ba59d7..a68d13310f 100644 --- a/gen/classroom1/Cargo.toml +++ b/gen/classroom1/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["classroom", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/classroom1/README.md b/gen/classroom1/README.md index 78db608607..a9f77e5a17 100644 --- a/gen/classroom1/README.md +++ b/gen/classroom1/README.md @@ -102,6 +102,7 @@ google-classroom1 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_classroom1 as classroom1; use classroom1::{Result, Error}; @@ -118,9 +119,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Classroom::new(hyper::Client::new(), auth); +let mut hub = Classroom::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! diff --git a/gen/classroom1/src/lib.rs b/gen/classroom1/src/lib.rs index 011dfa5348..b65774eff0 100644 --- a/gen/classroom1/src/lib.rs +++ b/gen/classroom1/src/lib.rs @@ -102,6 +102,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_classroom1 as classroom1; //! use classroom1::{Result, Error}; @@ -119,9 +120,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Classroom::new(hyper::Client::new(), auth); +//! let mut hub = Classroom::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! @@ -329,6 +330,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_classroom1 as classroom1; /// use classroom1::{Result, Error}; @@ -346,9 +348,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Classroom::new(hyper::Client::new(), auth); +/// let mut hub = Classroom::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1791,6 +1793,7 @@ impl ResponseResult for GuardianInvitation {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_classroom1 as classroom1; /// @@ -1801,9 +1804,9 @@ impl ResponseResult for GuardianInvitation {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Classroom::new(hyper::Client::new(), auth); +/// let mut hub = Classroom::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `aliases_create(...)`, `aliases_delete(...)`, `aliases_list(...)`, `course_work_create(...)`, `course_work_delete(...)`, `course_work_get(...)`, `course_work_list(...)`, `course_work_patch(...)`, `course_work_student_submissions_get(...)`, `course_work_student_submissions_list(...)`, `course_work_student_submissions_modify_attachments(...)`, `course_work_student_submissions_patch(...)`, `course_work_student_submissions_reclaim(...)`, `course_work_student_submissions_return(...)`, `course_work_student_submissions_turn_in(...)`, `create(...)`, `delete(...)`, `get(...)`, `list(...)`, `patch(...)`, `students_create(...)`, `students_delete(...)`, `students_get(...)`, `students_list(...)`, `teachers_create(...)`, `teachers_delete(...)`, `teachers_get(...)`, `teachers_list(...)` and `update(...)` /// // to build up your call. @@ -2809,6 +2812,7 @@ impl<'a, C, A> CourseMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_classroom1 as classroom1; /// @@ -2819,9 +2823,9 @@ impl<'a, C, A> CourseMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Classroom::new(hyper::Client::new(), auth); +/// let mut hub = Classroom::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `guardian_invitations_create(...)`, `guardian_invitations_get(...)`, `guardian_invitations_list(...)`, `guardian_invitations_patch(...)`, `guardians_delete(...)`, `guardians_get(...)` and `guardians_list(...)` /// // to build up your call. @@ -3152,6 +3156,7 @@ impl<'a, C, A> UserProfileMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_classroom1 as classroom1; /// @@ -3162,9 +3167,9 @@ impl<'a, C, A> UserProfileMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Classroom::new(hyper::Client::new(), auth); +/// let mut hub = Classroom::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `accept(...)`, `create(...)`, `delete(...)`, `get(...)` and `list(...)` /// // to build up your call. @@ -3346,6 +3351,7 @@ impl<'a, C, A> InvitationMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_classroom1 as classroom1; /// use classroom1::StudentSubmission; @@ -3356,9 +3362,9 @@ impl<'a, C, A> InvitationMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Classroom::new(hyper::Client::new(), auth); +/// # let mut hub = Classroom::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3675,6 +3681,7 @@ impl<'a, C, A> CourseCourseWorkStudentSubmissionPatchCall<'a, C, A> where C: Bor /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_classroom1 as classroom1; /// # #[test] fn egal() { @@ -3684,9 +3691,9 @@ impl<'a, C, A> CourseCourseWorkStudentSubmissionPatchCall<'a, C, A> where C: Bor /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Classroom::new(hyper::Client::new(), auth); +/// # let mut hub = Classroom::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4019,6 +4026,7 @@ impl<'a, C, A> CourseCourseWorkStudentSubmissionListCall<'a, C, A> where C: Borr /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_classroom1 as classroom1; /// # #[test] fn egal() { @@ -4028,9 +4036,9 @@ impl<'a, C, A> CourseCourseWorkStudentSubmissionListCall<'a, C, A> where C: Borr /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Classroom::new(hyper::Client::new(), auth); +/// # let mut hub = Classroom::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4270,6 +4278,7 @@ impl<'a, C, A> CourseGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_classroom1 as classroom1; /// use classroom1::Course; @@ -4280,9 +4289,9 @@ impl<'a, C, A> CourseGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Classroom::new(hyper::Client::new(), auth); +/// # let mut hub = Classroom::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4551,6 +4560,7 @@ impl<'a, C, A> CourseUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_classroom1 as classroom1; /// # #[test] fn egal() { @@ -4560,9 +4570,9 @@ impl<'a, C, A> CourseUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Classroom::new(hyper::Client::new(), auth); +/// # let mut hub = Classroom::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4818,6 +4828,7 @@ impl<'a, C, A> CourseStudentGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_classroom1 as classroom1; /// # #[test] fn egal() { @@ -4827,9 +4838,9 @@ impl<'a, C, A> CourseStudentGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Classroom::new(hyper::Client::new(), auth); +/// # let mut hub = Classroom::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5088,6 +5099,7 @@ impl<'a, C, A> CourseTeacherGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_classroom1 as classroom1; /// # #[test] fn egal() { @@ -5097,9 +5109,9 @@ impl<'a, C, A> CourseTeacherGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Classroom::new(hyper::Client::new(), auth); +/// # let mut hub = Classroom::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5404,6 +5416,7 @@ impl<'a, C, A> CourseCourseWorkListCall<'a, C, A> where C: BorrowMut CourseCourseWorkListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Classroom::new(hyper::Client::new(), auth); +/// # let mut hub = Classroom::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5678,6 +5691,7 @@ impl<'a, C, A> CourseCourseWorkGetCall<'a, C, A> where C: BorrowMut CourseCourseWorkGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Classroom::new(hyper::Client::new(), auth); +/// # let mut hub = Classroom::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5993,6 +6007,7 @@ impl<'a, C, A> CourseCourseWorkStudentSubmissionTurnInCall<'a, C, A> where C: Bo /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_classroom1 as classroom1; /// use classroom1::ModifyAttachmentsRequest; @@ -6003,9 +6018,9 @@ impl<'a, C, A> CourseCourseWorkStudentSubmissionTurnInCall<'a, C, A> where C: Bo /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Classroom::new(hyper::Client::new(), auth); +/// # let mut hub = Classroom::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6297,6 +6312,7 @@ impl<'a, C, A> CourseCourseWorkStudentSubmissionModifyAttachmentCall<'a, C, A> w /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_classroom1 as classroom1; /// # #[test] fn egal() { @@ -6306,9 +6322,9 @@ impl<'a, C, A> CourseCourseWorkStudentSubmissionModifyAttachmentCall<'a, C, A> w /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Classroom::new(hyper::Client::new(), auth); +/// # let mut hub = Classroom::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6593,6 +6609,7 @@ impl<'a, C, A> CourseTeacherListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_classroom1 as classroom1; /// use classroom1::ReturnStudentSubmissionRequest; @@ -6603,9 +6620,9 @@ impl<'a, C, A> CourseTeacherListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Classroom::new(hyper::Client::new(), auth); +/// # let mut hub = Classroom::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6897,6 +6914,7 @@ impl<'a, C, A> CourseCourseWorkStudentSubmissionReturnCall<'a, C, A> where C: Bo /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_classroom1 as classroom1; /// # #[test] fn egal() { @@ -6906,9 +6924,9 @@ impl<'a, C, A> CourseCourseWorkStudentSubmissionReturnCall<'a, C, A> where C: Bo /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Classroom::new(hyper::Client::new(), auth); +/// # let mut hub = Classroom::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7190,6 +7208,7 @@ impl<'a, C, A> CourseAliaseListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_classroom1 as classroom1; /// use classroom1::CourseWork; @@ -7200,9 +7219,9 @@ impl<'a, C, A> CourseAliaseListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Classroom::new(hyper::Client::new(), auth); +/// # let mut hub = Classroom::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7471,6 +7490,7 @@ impl<'a, C, A> CourseCourseWorkCreateCall<'a, C, A> where C: BorrowMut CourseCourseWorkCreateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Classroom::new(hyper::Client::new(), auth); +/// # let mut hub = Classroom::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7782,6 +7802,7 @@ impl<'a, C, A> CourseListCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_classroom1 as classroom1; /// use classroom1::ReclaimStudentSubmissionRequest; @@ -7792,9 +7813,9 @@ impl<'a, C, A> CourseListCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Classroom::new(hyper::Client::new(), auth); +/// # let mut hub = Classroom::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8090,6 +8111,7 @@ impl<'a, C, A> CourseCourseWorkStudentSubmissionReclaimCall<'a, C, A> where C: B /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_classroom1 as classroom1; /// use classroom1::CourseAlias; @@ -8100,9 +8122,9 @@ impl<'a, C, A> CourseCourseWorkStudentSubmissionReclaimCall<'a, C, A> where C: B /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Classroom::new(hyper::Client::new(), auth); +/// # let mut hub = Classroom::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8377,6 +8399,7 @@ impl<'a, C, A> CourseAliaseCreateCall<'a, C, A> where C: BorrowMut CourseAliaseCreateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Classroom::new(hyper::Client::new(), auth); +/// # let mut hub = Classroom::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8675,6 +8698,7 @@ impl<'a, C, A> CourseStudentCreateCall<'a, C, A> where C: BorrowMut CourseStudentCreateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Classroom::new(hyper::Client::new(), auth); +/// # let mut hub = Classroom::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8944,6 +8968,7 @@ impl<'a, C, A> CourseAliaseDeleteCall<'a, C, A> where C: BorrowMut CourseAliaseDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Classroom::new(hyper::Client::new(), auth); +/// # let mut hub = Classroom::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9214,6 +9239,7 @@ impl<'a, C, A> CourseCourseWorkDeleteCall<'a, C, A> where C: BorrowMut CourseCourseWorkDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Classroom::new(hyper::Client::new(), auth); +/// # let mut hub = Classroom::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9459,6 +9485,7 @@ impl<'a, C, A> CourseCreateCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_classroom1 as classroom1; /// # #[test] fn egal() { @@ -9468,9 +9495,9 @@ impl<'a, C, A> CourseCreateCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Classroom::new(hyper::Client::new(), auth); +/// # let mut hub = Classroom::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9740,6 +9767,7 @@ impl<'a, C, A> CourseStudentListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_classroom1 as classroom1; /// # #[test] fn egal() { @@ -9749,9 +9777,9 @@ impl<'a, C, A> CourseStudentListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Classroom::new(hyper::Client::new(), auth); +/// # let mut hub = Classroom::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10002,6 +10030,7 @@ impl<'a, C, A> CourseDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_classroom1 as classroom1; /// use classroom1::CourseWork; @@ -10012,9 +10041,9 @@ impl<'a, C, A> CourseDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Classroom::new(hyper::Client::new(), auth); +/// # let mut hub = Classroom::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10325,6 +10354,7 @@ impl<'a, C, A> CourseCourseWorkPatchCall<'a, C, A> where C: BorrowMut CourseCourseWorkPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Classroom::new(hyper::Client::new(), auth); +/// # let mut hub = Classroom::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10631,6 +10661,7 @@ impl<'a, C, A> CoursePatchCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_classroom1 as classroom1; /// # #[test] fn egal() { @@ -10640,9 +10671,9 @@ impl<'a, C, A> CoursePatchCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Classroom::new(hyper::Client::new(), auth); +/// # let mut hub = Classroom::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10900,6 +10931,7 @@ impl<'a, C, A> CourseStudentDeleteCall<'a, C, A> where C: BorrowMut CourseStudentDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Classroom::new(hyper::Client::new(), auth); +/// # let mut hub = Classroom::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11174,6 +11206,7 @@ impl<'a, C, A> CourseTeacherDeleteCall<'a, C, A> where C: BorrowMut CourseTeacherDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Classroom::new(hyper::Client::new(), auth); +/// # let mut hub = Classroom::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11455,6 +11488,7 @@ impl<'a, C, A> CourseTeacherCreateCall<'a, C, A> where C: BorrowMut CourseTeacherCreateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Classroom::new(hyper::Client::new(), auth); +/// # let mut hub = Classroom::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11736,6 +11770,7 @@ impl<'a, C, A> CourseCourseWorkStudentSubmissionGetCall<'a, C, A> where C: Borro /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_classroom1 as classroom1; /// # #[test] fn egal() { @@ -11745,9 +11780,9 @@ impl<'a, C, A> CourseCourseWorkStudentSubmissionGetCall<'a, C, A> where C: Borro /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Classroom::new(hyper::Client::new(), auth); +/// # let mut hub = Classroom::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12000,6 +12035,7 @@ impl<'a, C, A> UserProfileGuardianGetCall<'a, C, A> where C: BorrowMut UserProfileGuardianGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Classroom::new(hyper::Client::new(), auth); +/// # let mut hub = Classroom::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12256,6 +12292,7 @@ impl<'a, C, A> UserProfileGuardianInvitationCreateCall<'a, C, A> where C: Borrow /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_classroom1 as classroom1; /// # #[test] fn egal() { @@ -12265,9 +12302,9 @@ impl<'a, C, A> UserProfileGuardianInvitationCreateCall<'a, C, A> where C: Borrow /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Classroom::new(hyper::Client::new(), auth); +/// # let mut hub = Classroom::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12519,6 +12556,7 @@ impl<'a, C, A> UserProfileGetCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_classroom1 as classroom1; /// use classroom1::GuardianInvitation; @@ -12529,9 +12567,9 @@ impl<'a, C, A> UserProfileGetCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Classroom::new(hyper::Client::new(), auth); +/// # let mut hub = Classroom::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12814,6 +12852,7 @@ impl<'a, C, A> UserProfileGuardianInvitationPatchCall<'a, C, A> where C: BorrowM /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_classroom1 as classroom1; /// # #[test] fn egal() { @@ -12823,9 +12862,9 @@ impl<'a, C, A> UserProfileGuardianInvitationPatchCall<'a, C, A> where C: BorrowM /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Classroom::new(hyper::Client::new(), auth); +/// # let mut hub = Classroom::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13064,6 +13103,7 @@ impl<'a, C, A> UserProfileGuardianInvitationGetCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_classroom1 as classroom1; /// # #[test] fn egal() { @@ -13073,9 +13113,9 @@ impl<'a, C, A> UserProfileGuardianInvitationGetCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Classroom::new(hyper::Client::new(), auth); +/// # let mut hub = Classroom::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13352,6 +13392,7 @@ impl<'a, C, A> UserProfileGuardianListCall<'a, C, A> where C: BorrowMut UserProfileGuardianListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Classroom::new(hyper::Client::new(), auth); +/// # let mut hub = Classroom::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13658,6 +13699,7 @@ impl<'a, C, A> UserProfileGuardianInvitationListCall<'a, C, A> where C: BorrowMu /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_classroom1 as classroom1; /// # #[test] fn egal() { @@ -13667,9 +13709,9 @@ impl<'a, C, A> UserProfileGuardianInvitationListCall<'a, C, A> where C: BorrowMu /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Classroom::new(hyper::Client::new(), auth); +/// # let mut hub = Classroom::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13899,6 +13941,7 @@ impl<'a, C, A> UserProfileGuardianDeleteCall<'a, C, A> where C: BorrowMut UserProfileGuardianDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Classroom::new(hyper::Client::new(), auth); +/// # let mut hub = Classroom::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14151,6 +14194,7 @@ impl<'a, C, A> InvitationDeleteCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_classroom1 as classroom1; /// use classroom1::Invitation; @@ -14161,9 +14205,9 @@ impl<'a, C, A> InvitationDeleteCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Classroom::new(hyper::Client::new(), auth); +/// # let mut hub = Classroom::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14398,6 +14442,7 @@ impl<'a, C, A> InvitationCreateCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_classroom1 as classroom1; /// # #[test] fn egal() { @@ -14407,9 +14452,9 @@ impl<'a, C, A> InvitationCreateCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Classroom::new(hyper::Client::new(), auth); +/// # let mut hub = Classroom::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14674,6 +14719,7 @@ impl<'a, C, A> InvitationListCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_classroom1 as classroom1; /// # #[test] fn egal() { @@ -14683,9 +14729,9 @@ impl<'a, C, A> InvitationListCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Classroom::new(hyper::Client::new(), auth); +/// # let mut hub = Classroom::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14928,6 +14974,7 @@ impl<'a, C, A> InvitationGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_classroom1 as classroom1; /// # #[test] fn egal() { @@ -14937,9 +14984,9 @@ impl<'a, C, A> InvitationGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Classroom::new(hyper::Client::new(), auth); +/// # let mut hub = Classroom::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/cloudbilling1-cli/Cargo.toml b/gen/cloudbilling1-cli/Cargo.toml index 3cd8b78ef2..b7cda27981 100644 --- a/gen/cloudbilling1-cli/Cargo.toml +++ b/gen/cloudbilling1-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["cloudbilling", "google", "cli"] [[bin]] name = "cloudbilling1" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/cloudbilling1/Cargo.toml b/gen/cloudbilling1/Cargo.toml index 72da7e7593..657c8a7ab7 100644 --- a/gen/cloudbilling1/Cargo.toml +++ b/gen/cloudbilling1/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["cloudbilling", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/cloudbilling1/README.md b/gen/cloudbilling1/README.md index 4ad3171a75..4177c5b404 100644 --- a/gen/cloudbilling1/README.md +++ b/gen/cloudbilling1/README.md @@ -74,6 +74,7 @@ google-cloudbilling1 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_cloudbilling1 as cloudbilling1; use cloudbilling1::{Result, Error}; @@ -90,9 +91,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Cloudbilling::new(hyper::Client::new(), auth); +let mut hub = Cloudbilling::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! diff --git a/gen/cloudbilling1/src/lib.rs b/gen/cloudbilling1/src/lib.rs index 4be72b7fd5..c283180344 100644 --- a/gen/cloudbilling1/src/lib.rs +++ b/gen/cloudbilling1/src/lib.rs @@ -74,6 +74,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_cloudbilling1 as cloudbilling1; //! use cloudbilling1::{Result, Error}; @@ -91,9 +92,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Cloudbilling::new(hyper::Client::new(), auth); +//! let mut hub = Cloudbilling::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! @@ -254,6 +255,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_cloudbilling1 as cloudbilling1; /// use cloudbilling1::{Result, Error}; @@ -271,9 +273,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Cloudbilling::new(hyper::Client::new(), auth); +/// let mut hub = Cloudbilling::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -496,6 +498,7 @@ impl ResponseResult for ListBillingAccountsResponse {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_cloudbilling1 as cloudbilling1; /// @@ -506,9 +509,9 @@ impl ResponseResult for ListBillingAccountsResponse {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Cloudbilling::new(hyper::Client::new(), auth); +/// let mut hub = Cloudbilling::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `list(...)` and `projects_list(...)` /// // to build up your call. @@ -594,6 +597,7 @@ impl<'a, C, A> BillingAccountMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_cloudbilling1 as cloudbilling1; /// @@ -604,9 +608,9 @@ impl<'a, C, A> BillingAccountMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Cloudbilling::new(hyper::Client::new(), auth); +/// let mut hub = Cloudbilling::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get_billing_info(...)` and `update_billing_info(...)` /// // to build up your call. @@ -716,6 +720,7 @@ impl<'a, C, A> ProjectMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_cloudbilling1 as cloudbilling1; /// # #[test] fn egal() { @@ -725,9 +730,9 @@ impl<'a, C, A> ProjectMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Cloudbilling::new(hyper::Client::new(), auth); +/// # let mut hub = Cloudbilling::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -963,6 +968,7 @@ impl<'a, C, A> BillingAccountGetCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_cloudbilling1 as cloudbilling1; /// # #[test] fn egal() { @@ -972,9 +978,9 @@ impl<'a, C, A> BillingAccountGetCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Cloudbilling::new(hyper::Client::new(), auth); +/// # let mut hub = Cloudbilling::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1200,6 +1206,7 @@ impl<'a, C, A> BillingAccountListCall<'a, C, A> where C: BorrowMut BillingAccountListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Cloudbilling::new(hyper::Client::new(), auth); +/// # let mut hub = Cloudbilling::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1476,6 +1483,7 @@ impl<'a, C, A> BillingAccountProjectListCall<'a, C, A> where C: BorrowMut BillingAccountProjectListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Cloudbilling::new(hyper::Client::new(), auth); +/// # let mut hub = Cloudbilling::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1752,6 +1760,7 @@ impl<'a, C, A> ProjectGetBillingInfoCall<'a, C, A> where C: BorrowMut ProjectGetBillingInfoCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Cloudbilling::new(hyper::Client::new(), auth); +/// # let mut hub = Cloudbilling::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/clouddebugger2-cli/Cargo.toml b/gen/clouddebugger2-cli/Cargo.toml index efbe8a8573..27fec83bdd 100644 --- a/gen/clouddebugger2-cli/Cargo.toml +++ b/gen/clouddebugger2-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["clouddebugger", "google", "cli"] [[bin]] name = "clouddebugger2" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/clouddebugger2/Cargo.toml b/gen/clouddebugger2/Cargo.toml index fc11f13f47..905cdc2f0c 100644 --- a/gen/clouddebugger2/Cargo.toml +++ b/gen/clouddebugger2/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["clouddebugger", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/clouddebugger2/README.md b/gen/clouddebugger2/README.md index 70c721a867..e6932956ce 100644 --- a/gen/clouddebugger2/README.md +++ b/gen/clouddebugger2/README.md @@ -72,6 +72,7 @@ google-clouddebugger2 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_clouddebugger2 as clouddebugger2; use clouddebugger2::Breakpoint; @@ -89,9 +90,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = CloudDebugger::new(hyper::Client::new(), auth); +let mut hub = CloudDebugger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! diff --git a/gen/clouddebugger2/src/lib.rs b/gen/clouddebugger2/src/lib.rs index 8aa5996558..28890d7eb3 100644 --- a/gen/clouddebugger2/src/lib.rs +++ b/gen/clouddebugger2/src/lib.rs @@ -72,6 +72,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_clouddebugger2 as clouddebugger2; //! use clouddebugger2::Breakpoint; @@ -90,9 +91,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = CloudDebugger::new(hyper::Client::new(), auth); +//! let mut hub = CloudDebugger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! @@ -261,6 +262,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_clouddebugger2 as clouddebugger2; /// use clouddebugger2::Breakpoint; @@ -279,9 +281,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = CloudDebugger::new(hyper::Client::new(), auth); +/// let mut hub = CloudDebugger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1194,6 +1196,7 @@ impl ResponseResult for GetBreakpointResponse {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_clouddebugger2 as clouddebugger2; /// @@ -1204,9 +1207,9 @@ impl ResponseResult for GetBreakpointResponse {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = CloudDebugger::new(hyper::Client::new(), auth); +/// let mut hub = CloudDebugger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `debuggees_breakpoints_list(...)`, `debuggees_breakpoints_update(...)` and `debuggees_register(...)` /// // to build up your call. @@ -1321,6 +1324,7 @@ impl<'a, C, A> ControllerMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_clouddebugger2 as clouddebugger2; /// @@ -1331,9 +1335,9 @@ impl<'a, C, A> ControllerMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = CloudDebugger::new(hyper::Client::new(), auth); +/// let mut hub = CloudDebugger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `debuggees_breakpoints_delete(...)`, `debuggees_breakpoints_get(...)`, `debuggees_breakpoints_list(...)`, `debuggees_breakpoints_set(...)` and `debuggees_list(...)` /// // to build up your call. @@ -1476,6 +1480,7 @@ impl<'a, C, A> DebuggerMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_clouddebugger2 as clouddebugger2; /// use clouddebugger2::UpdateActiveBreakpointRequest; @@ -1486,9 +1491,9 @@ impl<'a, C, A> DebuggerMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudDebugger::new(hyper::Client::new(), auth); +/// # let mut hub = CloudDebugger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1769,6 +1774,7 @@ impl<'a, C, A> ControllerDebuggeeBreakpointUpdateCall<'a, C, A> where C: BorrowM /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_clouddebugger2 as clouddebugger2; /// use clouddebugger2::RegisterDebuggeeRequest; @@ -1779,9 +1785,9 @@ impl<'a, C, A> ControllerDebuggeeBreakpointUpdateCall<'a, C, A> where C: BorrowM /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudDebugger::new(hyper::Client::new(), auth); +/// # let mut hub = CloudDebugger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2020,6 +2026,7 @@ impl<'a, C, A> ControllerDebuggeeRegisterCall<'a, C, A> where C: BorrowMut ControllerDebuggeeRegisterCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudDebugger::new(hyper::Client::new(), auth); +/// # let mut hub = CloudDebugger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2292,6 +2299,7 @@ impl<'a, C, A> ControllerDebuggeeBreakpointListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_clouddebugger2 as clouddebugger2; /// # #[test] fn egal() { @@ -2301,9 +2309,9 @@ impl<'a, C, A> ControllerDebuggeeBreakpointListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudDebugger::new(hyper::Client::new(), auth); +/// # let mut hub = CloudDebugger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2558,6 +2566,7 @@ impl<'a, C, A> DebuggerDebuggeeBreakpointGetCall<'a, C, A> where C: BorrowMut DebuggerDebuggeeBreakpointGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudDebugger::new(hyper::Client::new(), auth); +/// # let mut hub = CloudDebugger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2824,6 +2833,7 @@ impl<'a, C, A> DebuggerDebuggeeBreakpointDeleteCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_clouddebugger2 as clouddebugger2; /// # #[test] fn egal() { @@ -2833,9 +2843,9 @@ impl<'a, C, A> DebuggerDebuggeeBreakpointDeleteCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudDebugger::new(hyper::Client::new(), auth); +/// # let mut hub = CloudDebugger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3070,6 +3080,7 @@ impl<'a, C, A> DebuggerDebuggeeListCall<'a, C, A> where C: BorrowMut DebuggerDebuggeeListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudDebugger::new(hyper::Client::new(), auth); +/// # let mut hub = CloudDebugger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3355,6 +3366,7 @@ impl<'a, C, A> DebuggerDebuggeeBreakpointSetCall<'a, C, A> where C: BorrowMut DebuggerDebuggeeBreakpointSetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudDebugger::new(hyper::Client::new(), auth); +/// # let mut hub = CloudDebugger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/cloudkms1_beta1-cli/Cargo.toml b/gen/cloudkms1_beta1-cli/Cargo.toml index 1d3b79f063..14def6aa7a 100644 --- a/gen/cloudkms1_beta1-cli/Cargo.toml +++ b/gen/cloudkms1_beta1-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["cloudkms", "google", "cli"] [[bin]] name = "cloudkms1-beta1" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/cloudkms1_beta1/Cargo.toml b/gen/cloudkms1_beta1/Cargo.toml index fe7fc2f741..0317dc8a93 100644 --- a/gen/cloudkms1_beta1/Cargo.toml +++ b/gen/cloudkms1_beta1/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["cloudkms", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/cloudkms1_beta1/README.md b/gen/cloudkms1_beta1/README.md index ca4b2f2f47..79d850d651 100644 --- a/gen/cloudkms1_beta1/README.md +++ b/gen/cloudkms1_beta1/README.md @@ -74,6 +74,7 @@ google-cloudkms1_beta1 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_cloudkms1_beta1 as cloudkms1_beta1; use cloudkms1_beta1::CryptoKeyVersion; @@ -91,9 +92,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = CloudKMS::new(hyper::Client::new(), auth); +let mut hub = CloudKMS::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! diff --git a/gen/cloudkms1_beta1/src/lib.rs b/gen/cloudkms1_beta1/src/lib.rs index 2f2d2aad1d..ec2ab3d577 100644 --- a/gen/cloudkms1_beta1/src/lib.rs +++ b/gen/cloudkms1_beta1/src/lib.rs @@ -74,6 +74,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_cloudkms1_beta1 as cloudkms1_beta1; //! use cloudkms1_beta1::CryptoKeyVersion; @@ -92,9 +93,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = CloudKMS::new(hyper::Client::new(), auth); +//! let mut hub = CloudKMS::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! @@ -259,6 +260,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_cloudkms1_beta1 as cloudkms1_beta1; /// use cloudkms1_beta1::CryptoKeyVersion; @@ -277,9 +279,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = CloudKMS::new(hyper::Client::new(), auth); +/// let mut hub = CloudKMS::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1187,6 +1189,7 @@ impl Part for Condition {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_cloudkms1_beta1 as cloudkms1_beta1; /// @@ -1197,9 +1200,9 @@ impl Part for Condition {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = CloudKMS::new(hyper::Client::new(), auth); +/// let mut hub = CloudKMS::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_get(...)`, `locations_key_rings_create(...)`, `locations_key_rings_crypto_keys_create(...)`, `locations_key_rings_crypto_keys_crypto_key_versions_create(...)`, `locations_key_rings_crypto_keys_crypto_key_versions_destroy(...)`, `locations_key_rings_crypto_keys_crypto_key_versions_get(...)`, `locations_key_rings_crypto_keys_crypto_key_versions_list(...)`, `locations_key_rings_crypto_keys_crypto_key_versions_patch(...)`, `locations_key_rings_crypto_keys_crypto_key_versions_restore(...)`, `locations_key_rings_crypto_keys_decrypt(...)`, `locations_key_rings_crypto_keys_encrypt(...)`, `locations_key_rings_crypto_keys_get(...)`, `locations_key_rings_crypto_keys_get_iam_policy(...)`, `locations_key_rings_crypto_keys_list(...)`, `locations_key_rings_crypto_keys_patch(...)`, `locations_key_rings_crypto_keys_set_iam_policy(...)`, `locations_key_rings_crypto_keys_test_iam_permissions(...)`, `locations_key_rings_crypto_keys_update_primary_version(...)`, `locations_key_rings_get(...)`, `locations_key_rings_get_iam_policy(...)`, `locations_key_rings_list(...)`, `locations_key_rings_set_iam_policy(...)`, `locations_key_rings_test_iam_permissions(...)` and `locations_list(...)` /// // to build up your call. @@ -1757,6 +1760,7 @@ impl<'a, C, A> ProjectMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_cloudkms1_beta1 as cloudkms1_beta1; /// use cloudkms1_beta1::CryptoKeyVersion; @@ -1767,9 +1771,9 @@ impl<'a, C, A> ProjectMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudKMS::new(hyper::Client::new(), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2046,6 +2050,7 @@ impl<'a, C, A> ProjectLocationKeyRingCryptoKeyCryptoKeyVersionPatchCall<'a, C, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_cloudkms1_beta1 as cloudkms1_beta1; /// use cloudkms1_beta1::KeyRing; @@ -2056,9 +2061,9 @@ impl<'a, C, A> ProjectLocationKeyRingCryptoKeyCryptoKeyVersionPatchCall<'a, C, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudKMS::new(hyper::Client::new(), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2336,6 +2341,7 @@ impl<'a, C, A> ProjectLocationKeyRingCreateCall<'a, C, A> where C: BorrowMut ProjectLocationKeyRingCreateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudKMS::new(hyper::Client::new(), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2621,6 +2627,7 @@ impl<'a, C, A> ProjectLocationKeyRingListCall<'a, C, A> where C: BorrowMut ProjectLocationKeyRingListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudKMS::new(hyper::Client::new(), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2897,6 +2904,7 @@ impl<'a, C, A> ProjectLocationKeyRingCryptoKeyCryptoKeyVersionDestroyCall<'a, C, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_cloudkms1_beta1 as cloudkms1_beta1; /// use cloudkms1_beta1::EncryptRequest; @@ -2907,9 +2915,9 @@ impl<'a, C, A> ProjectLocationKeyRingCryptoKeyCryptoKeyVersionDestroyCall<'a, C, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudKMS::new(hyper::Client::new(), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3177,6 +3185,7 @@ impl<'a, C, A> ProjectLocationKeyRingCryptoKeyEncryptCall<'a, C, A> where C: Bor /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_cloudkms1_beta1 as cloudkms1_beta1; /// # #[test] fn egal() { @@ -3186,9 +3195,9 @@ impl<'a, C, A> ProjectLocationKeyRingCryptoKeyEncryptCall<'a, C, A> where C: Bor /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudKMS::new(hyper::Client::new(), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3423,6 +3432,7 @@ impl<'a, C, A> ProjectLocationKeyRingGetCall<'a, C, A> where C: BorrowMut ProjectLocationKeyRingGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudKMS::new(hyper::Client::new(), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3668,6 +3678,7 @@ impl<'a, C, A> ProjectLocationKeyRingCryptoKeyGetCall<'a, C, A> where C: BorrowM /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_cloudkms1_beta1 as cloudkms1_beta1; /// # #[test] fn egal() { @@ -3677,9 +3688,9 @@ impl<'a, C, A> ProjectLocationKeyRingCryptoKeyGetCall<'a, C, A> where C: BorrowM /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudKMS::new(hyper::Client::new(), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3955,6 +3966,7 @@ impl<'a, C, A> ProjectLocationListCall<'a, C, A> where C: BorrowMut ProjectLocationListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudKMS::new(hyper::Client::new(), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4234,6 +4246,7 @@ impl<'a, C, A> ProjectLocationKeyRingTestIamPermissionCall<'a, C, A> where C: Bo /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_cloudkms1_beta1 as cloudkms1_beta1; /// # #[test] fn egal() { @@ -4243,9 +4256,9 @@ impl<'a, C, A> ProjectLocationKeyRingTestIamPermissionCall<'a, C, A> where C: Bo /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudKMS::new(hyper::Client::new(), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4480,6 +4493,7 @@ impl<'a, C, A> ProjectLocationKeyRingCryptoKeyGetIamPolicyCall<'a, C, A> where C /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_cloudkms1_beta1 as cloudkms1_beta1; /// use cloudkms1_beta1::UpdateCryptoKeyPrimaryVersionRequest; @@ -4490,9 +4504,9 @@ impl<'a, C, A> ProjectLocationKeyRingCryptoKeyGetIamPolicyCall<'a, C, A> where C /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudKMS::new(hyper::Client::new(), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4756,6 +4770,7 @@ impl<'a, C, A> ProjectLocationKeyRingCryptoKeyUpdatePrimaryVersionCall<'a, C, A> /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_cloudkms1_beta1 as cloudkms1_beta1; /// use cloudkms1_beta1::CryptoKey; @@ -4766,9 +4781,9 @@ impl<'a, C, A> ProjectLocationKeyRingCryptoKeyUpdatePrimaryVersionCall<'a, C, A> /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudKMS::new(hyper::Client::new(), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5045,6 +5060,7 @@ impl<'a, C, A> ProjectLocationKeyRingCryptoKeyPatchCall<'a, C, A> where C: Borro /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_cloudkms1_beta1 as cloudkms1_beta1; /// use cloudkms1_beta1::DecryptRequest; @@ -5055,9 +5071,9 @@ impl<'a, C, A> ProjectLocationKeyRingCryptoKeyPatchCall<'a, C, A> where C: Borro /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudKMS::new(hyper::Client::new(), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5324,6 +5340,7 @@ impl<'a, C, A> ProjectLocationKeyRingCryptoKeyDecryptCall<'a, C, A> where C: Bor /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_cloudkms1_beta1 as cloudkms1_beta1; /// # #[test] fn egal() { @@ -5333,9 +5350,9 @@ impl<'a, C, A> ProjectLocationKeyRingCryptoKeyDecryptCall<'a, C, A> where C: Bor /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudKMS::new(hyper::Client::new(), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5571,6 +5588,7 @@ impl<'a, C, A> ProjectLocationKeyRingGetIamPolicyCall<'a, C, A> where C: BorrowM /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_cloudkms1_beta1 as cloudkms1_beta1; /// use cloudkms1_beta1::SetIamPolicyRequest; @@ -5581,9 +5599,9 @@ impl<'a, C, A> ProjectLocationKeyRingGetIamPolicyCall<'a, C, A> where C: BorrowM /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudKMS::new(hyper::Client::new(), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5848,6 +5866,7 @@ impl<'a, C, A> ProjectLocationKeyRingSetIamPolicyCall<'a, C, A> where C: BorrowM /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_cloudkms1_beta1 as cloudkms1_beta1; /// # #[test] fn egal() { @@ -5857,9 +5876,9 @@ impl<'a, C, A> ProjectLocationKeyRingSetIamPolicyCall<'a, C, A> where C: BorrowM /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudKMS::new(hyper::Client::new(), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6099,6 +6118,7 @@ impl<'a, C, A> ProjectLocationGetCall<'a, C, A> where C: BorrowMut ProjectLocationGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudKMS::new(hyper::Client::new(), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6376,6 +6396,7 @@ impl<'a, C, A> ProjectLocationKeyRingCryptoKeyTestIamPermissionCall<'a, C, A> wh /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_cloudkms1_beta1 as cloudkms1_beta1; /// # #[test] fn egal() { @@ -6385,9 +6406,9 @@ impl<'a, C, A> ProjectLocationKeyRingCryptoKeyTestIamPermissionCall<'a, C, A> wh /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudKMS::new(hyper::Client::new(), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6651,6 +6672,7 @@ impl<'a, C, A> ProjectLocationKeyRingCryptoKeyCryptoKeyVersionListCall<'a, C, A> /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_cloudkms1_beta1 as cloudkms1_beta1; /// # #[test] fn egal() { @@ -6660,9 +6682,9 @@ impl<'a, C, A> ProjectLocationKeyRingCryptoKeyCryptoKeyVersionListCall<'a, C, A> /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudKMS::new(hyper::Client::new(), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6929,6 +6951,7 @@ impl<'a, C, A> ProjectLocationKeyRingCryptoKeyListCall<'a, C, A> where C: Borrow /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_cloudkms1_beta1 as cloudkms1_beta1; /// use cloudkms1_beta1::CryptoKeyVersion; @@ -6939,9 +6962,9 @@ impl<'a, C, A> ProjectLocationKeyRingCryptoKeyListCall<'a, C, A> where C: Borrow /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudKMS::new(hyper::Client::new(), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7206,6 +7229,7 @@ impl<'a, C, A> ProjectLocationKeyRingCryptoKeyCryptoKeyVersionCreateCall<'a, C, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_cloudkms1_beta1 as cloudkms1_beta1; /// # #[test] fn egal() { @@ -7215,9 +7239,9 @@ impl<'a, C, A> ProjectLocationKeyRingCryptoKeyCryptoKeyVersionCreateCall<'a, C, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudKMS::new(hyper::Client::new(), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7452,6 +7476,7 @@ impl<'a, C, A> ProjectLocationKeyRingCryptoKeyCryptoKeyVersionGetCall<'a, C, A> /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_cloudkms1_beta1 as cloudkms1_beta1; /// use cloudkms1_beta1::SetIamPolicyRequest; @@ -7462,9 +7487,9 @@ impl<'a, C, A> ProjectLocationKeyRingCryptoKeyCryptoKeyVersionGetCall<'a, C, A> /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudKMS::new(hyper::Client::new(), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7735,6 +7760,7 @@ impl<'a, C, A> ProjectLocationKeyRingCryptoKeySetIamPolicyCall<'a, C, A> where C /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_cloudkms1_beta1 as cloudkms1_beta1; /// use cloudkms1_beta1::RestoreCryptoKeyVersionRequest; @@ -7745,9 +7771,9 @@ impl<'a, C, A> ProjectLocationKeyRingCryptoKeySetIamPolicyCall<'a, C, A> where C /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudKMS::new(hyper::Client::new(), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8013,6 +8039,7 @@ impl<'a, C, A> ProjectLocationKeyRingCryptoKeyCryptoKeyVersionRestoreCall<'a, C, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_cloudkms1_beta1 as cloudkms1_beta1; /// use cloudkms1_beta1::CryptoKey; @@ -8023,9 +8050,9 @@ impl<'a, C, A> ProjectLocationKeyRingCryptoKeyCryptoKeyVersionRestoreCall<'a, C, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudKMS::new(hyper::Client::new(), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/cloudlatencytest2-cli/Cargo.toml b/gen/cloudlatencytest2-cli/Cargo.toml index d06668bdbb..8bfe226f5d 100644 --- a/gen/cloudlatencytest2-cli/Cargo.toml +++ b/gen/cloudlatencytest2-cli/Cargo.toml @@ -15,6 +15,9 @@ keywords = ["cloudlatencytest", "google", "cli"] [[bin]] name = "cloudlatencytest2" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/cloudlatencytest2/Cargo.toml b/gen/cloudlatencytest2/Cargo.toml index b73b970dd5..3f671abf30 100644 --- a/gen/cloudlatencytest2/Cargo.toml +++ b/gen/cloudlatencytest2/Cargo.toml @@ -13,6 +13,9 @@ license = "MIT" keywords = ["cloudlatencytest", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/cloudlatencytest2/README.md b/gen/cloudlatencytest2/README.md index 5664104b19..25adbd0a38 100644 --- a/gen/cloudlatencytest2/README.md +++ b/gen/cloudlatencytest2/README.md @@ -67,6 +67,7 @@ google-cloudlatencytest2 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_cloudlatencytest2 as cloudlatencytest2; use cloudlatencytest2::Stats; @@ -84,9 +85,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Cloudlatencytest::new(hyper::Client::new(), auth); +let mut hub = Cloudlatencytest::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! diff --git a/gen/cloudlatencytest2/src/lib.rs b/gen/cloudlatencytest2/src/lib.rs index e49bf2d093..3741943dac 100644 --- a/gen/cloudlatencytest2/src/lib.rs +++ b/gen/cloudlatencytest2/src/lib.rs @@ -67,6 +67,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_cloudlatencytest2 as cloudlatencytest2; //! use cloudlatencytest2::Stats; @@ -85,9 +86,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Cloudlatencytest::new(hyper::Client::new(), auth); +//! let mut hub = Cloudlatencytest::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! @@ -251,6 +252,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_cloudlatencytest2 as cloudlatencytest2; /// use cloudlatencytest2::Stats; @@ -269,9 +271,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Cloudlatencytest::new(hyper::Client::new(), auth); +/// let mut hub = Cloudlatencytest::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -499,6 +501,7 @@ impl ResponseResult for StatsReply {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_cloudlatencytest2 as cloudlatencytest2; /// @@ -509,9 +512,9 @@ impl ResponseResult for StatsReply {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Cloudlatencytest::new(hyper::Client::new(), auth); +/// let mut hub = Cloudlatencytest::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `updateaggregatedstats(...)` and `updatestats(...)` /// // to build up your call. @@ -582,6 +585,7 @@ impl<'a, C, A> StatscollectionMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_cloudlatencytest2 as cloudlatencytest2; /// use cloudlatencytest2::AggregatedStats; @@ -592,9 +596,9 @@ impl<'a, C, A> StatscollectionMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Cloudlatencytest::new(hyper::Client::new(), auth); +/// # let mut hub = Cloudlatencytest::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -815,6 +819,7 @@ impl<'a, C, A> StatscollectionUpdateaggregatedstatCall<'a, C, A> where C: Borrow /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_cloudlatencytest2 as cloudlatencytest2; /// use cloudlatencytest2::Stats; @@ -825,9 +830,9 @@ impl<'a, C, A> StatscollectionUpdateaggregatedstatCall<'a, C, A> where C: Borrow /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Cloudlatencytest::new(hyper::Client::new(), auth); +/// # let mut hub = Cloudlatencytest::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/cloudmonitoring2_beta2-cli/Cargo.toml b/gen/cloudmonitoring2_beta2-cli/Cargo.toml index 0b9a86d2e5..5c3d8d2d21 100644 --- a/gen/cloudmonitoring2_beta2-cli/Cargo.toml +++ b/gen/cloudmonitoring2_beta2-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["cloudmonitoring", "google", "cli"] [[bin]] name = "cloudmonitoring2-beta2" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/cloudmonitoring2_beta2/Cargo.toml b/gen/cloudmonitoring2_beta2/Cargo.toml index 2be403eb54..250011c018 100644 --- a/gen/cloudmonitoring2_beta2/Cargo.toml +++ b/gen/cloudmonitoring2_beta2/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["cloudmonitoring", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/cloudmonitoring2_beta2/README.md b/gen/cloudmonitoring2_beta2/README.md index 8e14b5a7d9..b8a5a49572 100644 --- a/gen/cloudmonitoring2_beta2/README.md +++ b/gen/cloudmonitoring2_beta2/README.md @@ -76,6 +76,7 @@ google-cloudmonitoring2_beta2 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_cloudmonitoring2_beta2 as cloudmonitoring2_beta2; use cloudmonitoring2_beta2::ListMetricDescriptorsRequest; @@ -93,9 +94,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = CloudMonitoring::new(hyper::Client::new(), auth); +let mut hub = CloudMonitoring::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! diff --git a/gen/cloudmonitoring2_beta2/src/lib.rs b/gen/cloudmonitoring2_beta2/src/lib.rs index 56570c70f5..d1ca13eef1 100644 --- a/gen/cloudmonitoring2_beta2/src/lib.rs +++ b/gen/cloudmonitoring2_beta2/src/lib.rs @@ -76,6 +76,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_cloudmonitoring2_beta2 as cloudmonitoring2_beta2; //! use cloudmonitoring2_beta2::ListMetricDescriptorsRequest; @@ -94,9 +95,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = CloudMonitoring::new(hyper::Client::new(), auth); +//! let mut hub = CloudMonitoring::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! @@ -267,6 +268,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_cloudmonitoring2_beta2 as cloudmonitoring2_beta2; /// use cloudmonitoring2_beta2::ListMetricDescriptorsRequest; @@ -285,9 +287,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = CloudMonitoring::new(hyper::Client::new(), auth); +/// let mut hub = CloudMonitoring::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -801,6 +803,7 @@ impl ResponseResult for ListTimeseriesResponse {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_cloudmonitoring2_beta2 as cloudmonitoring2_beta2; /// @@ -811,9 +814,9 @@ impl ResponseResult for ListTimeseriesResponse {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = CloudMonitoring::new(hyper::Client::new(), auth); +/// let mut hub = CloudMonitoring::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -872,6 +875,7 @@ impl<'a, C, A> TimeseriesDescriptorMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_cloudmonitoring2_beta2 as cloudmonitoring2_beta2; /// @@ -882,9 +886,9 @@ impl<'a, C, A> TimeseriesDescriptorMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = CloudMonitoring::new(hyper::Client::new(), auth); +/// let mut hub = CloudMonitoring::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` and `write(...)` /// // to build up your call. @@ -962,6 +966,7 @@ impl<'a, C, A> TimeseryMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_cloudmonitoring2_beta2 as cloudmonitoring2_beta2; /// @@ -972,9 +977,9 @@ impl<'a, C, A> TimeseryMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = CloudMonitoring::new(hyper::Client::new(), auth); +/// let mut hub = CloudMonitoring::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `delete(...)` and `list(...)` /// // to build up your call. @@ -1071,6 +1076,7 @@ impl<'a, C, A> MetricDescriptorMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_cloudmonitoring2_beta2 as cloudmonitoring2_beta2; /// use cloudmonitoring2_beta2::ListTimeseriesDescriptorsRequest; @@ -1081,9 +1087,9 @@ impl<'a, C, A> MetricDescriptorMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudMonitoring::new(hyper::Client::new(), auth); +/// # let mut hub = CloudMonitoring::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1464,6 +1470,7 @@ impl<'a, C, A> TimeseriesDescriptorListCall<'a, C, A> where C: BorrowMut TimeseriesDescriptorListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudMonitoring::new(hyper::Client::new(), auth); +/// # let mut hub = CloudMonitoring::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1730,6 +1737,7 @@ impl<'a, C, A> TimeseryWriteCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_cloudmonitoring2_beta2 as cloudmonitoring2_beta2; /// use cloudmonitoring2_beta2::ListTimeseriesRequest; @@ -1740,9 +1748,9 @@ impl<'a, C, A> TimeseryWriteCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudMonitoring::new(hyper::Client::new(), auth); +/// # let mut hub = CloudMonitoring::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2123,6 +2131,7 @@ impl<'a, C, A> TimeseryListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_cloudmonitoring2_beta2 as cloudmonitoring2_beta2; /// use cloudmonitoring2_beta2::ListMetricDescriptorsRequest; @@ -2133,9 +2142,9 @@ impl<'a, C, A> TimeseryListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudMonitoring::new(hyper::Client::new(), auth); +/// # let mut hub = CloudMonitoring::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2425,6 +2434,7 @@ impl<'a, C, A> MetricDescriptorListCall<'a, C, A> where C: BorrowMut MetricDescriptorListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudMonitoring::new(hyper::Client::new(), auth); +/// # let mut hub = CloudMonitoring::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2672,6 +2682,7 @@ impl<'a, C, A> MetricDescriptorDeleteCall<'a, C, A> where C: BorrowMut MetricDescriptorDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudMonitoring::new(hyper::Client::new(), auth); +/// # let mut hub = CloudMonitoring::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/cloudresourcemanager1-cli/Cargo.toml b/gen/cloudresourcemanager1-cli/Cargo.toml index 8ac9baea2b..3c6eca0008 100644 --- a/gen/cloudresourcemanager1-cli/Cargo.toml +++ b/gen/cloudresourcemanager1-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["cloudresourcemanager", "google", "cli"] [[bin]] name = "cloudresourcemanager1" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/cloudresourcemanager1/Cargo.toml b/gen/cloudresourcemanager1/Cargo.toml index 9de26194b2..4b2cb3ea00 100644 --- a/gen/cloudresourcemanager1/Cargo.toml +++ b/gen/cloudresourcemanager1/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["cloudresourcemanager", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/cloudresourcemanager1/README.md b/gen/cloudresourcemanager1/README.md index 8c886e5422..a22b05b138 100644 --- a/gen/cloudresourcemanager1/README.md +++ b/gen/cloudresourcemanager1/README.md @@ -93,6 +93,7 @@ google-cloudresourcemanager1 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_cloudresourcemanager1 as cloudresourcemanager1; use cloudresourcemanager1::{Result, Error}; @@ -109,9 +110,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! diff --git a/gen/cloudresourcemanager1/src/lib.rs b/gen/cloudresourcemanager1/src/lib.rs index 9448bd9249..18302190dd 100644 --- a/gen/cloudresourcemanager1/src/lib.rs +++ b/gen/cloudresourcemanager1/src/lib.rs @@ -93,6 +93,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_cloudresourcemanager1 as cloudresourcemanager1; //! use cloudresourcemanager1::{Result, Error}; @@ -110,9 +111,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +//! let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! @@ -278,6 +279,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_cloudresourcemanager1 as cloudresourcemanager1; /// use cloudresourcemanager1::{Result, Error}; @@ -295,9 +297,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1809,6 +1811,7 @@ impl Part for OrganizationOwner {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_cloudresourcemanager1 as cloudresourcemanager1; /// @@ -1819,9 +1822,9 @@ impl Part for OrganizationOwner {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `clear_org_policy(...)`, `get_effective_org_policy(...)`, `get_org_policy(...)`, `list_available_org_policy_constraints(...)`, `list_org_policies(...)` and `set_org_policy(...)` /// // to build up your call. @@ -1975,6 +1978,7 @@ impl<'a, C, A> FolderMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_cloudresourcemanager1 as cloudresourcemanager1; /// @@ -1985,9 +1989,9 @@ impl<'a, C, A> FolderMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `clear_org_policy(...)`, `get(...)`, `get_effective_org_policy(...)`, `get_iam_policy(...)`, `get_org_policy(...)`, `list_available_org_policy_constraints(...)`, `list_org_policies(...)`, `search(...)`, `set_iam_policy(...)`, `set_org_policy(...)` and `test_iam_permissions(...)` /// // to build up your call. @@ -2244,6 +2248,7 @@ impl<'a, C, A> OrganizationMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_cloudresourcemanager1 as cloudresourcemanager1; /// @@ -2254,9 +2259,9 @@ impl<'a, C, A> OrganizationMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `delete(...)` and `list(...)` /// // to build up your call. @@ -2348,6 +2353,7 @@ impl<'a, C, A> LienMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_cloudresourcemanager1 as cloudresourcemanager1; /// @@ -2358,9 +2364,9 @@ impl<'a, C, A> LienMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `clear_org_policy(...)`, `create(...)`, `delete(...)`, `get(...)`, `get_ancestry(...)`, `get_effective_org_policy(...)`, `get_iam_policy(...)`, `get_org_policy(...)`, `list(...)`, `list_available_org_policy_constraints(...)`, `list_org_policies(...)`, `set_iam_policy(...)`, `set_org_policy(...)`, `test_iam_permissions(...)`, `undelete(...)` and `update(...)` /// // to build up your call. @@ -2787,6 +2793,7 @@ impl<'a, C, A> ProjectMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_cloudresourcemanager1 as cloudresourcemanager1; /// @@ -2797,9 +2804,9 @@ impl<'a, C, A> ProjectMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -2857,6 +2864,7 @@ impl<'a, C, A> OperationMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_cloudresourcemanager1 as cloudresourcemanager1; /// use cloudresourcemanager1::GetEffectiveOrgPolicyRequest; @@ -2867,9 +2875,9 @@ impl<'a, C, A> OperationMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3133,6 +3141,7 @@ impl<'a, C, A> FolderGetEffectiveOrgPolicyCall<'a, C, A> where C: BorrowMut FolderGetEffectiveOrgPolicyCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3409,6 +3418,7 @@ impl<'a, C, A> FolderClearOrgPolicyCall<'a, C, A> where C: BorrowMut FolderClearOrgPolicyCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3690,6 +3700,7 @@ impl<'a, C, A> FolderListAvailableOrgPolicyConstraintCall<'a, C, A> where C: Bor /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_cloudresourcemanager1 as cloudresourcemanager1; /// use cloudresourcemanager1::GetOrgPolicyRequest; @@ -3700,9 +3711,9 @@ impl<'a, C, A> FolderListAvailableOrgPolicyConstraintCall<'a, C, A> where C: Bor /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3970,6 +3981,7 @@ impl<'a, C, A> FolderGetOrgPolicyCall<'a, C, A> where C: BorrowMut FolderGetOrgPolicyCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4246,6 +4258,7 @@ impl<'a, C, A> FolderSetOrgPolicyCall<'a, C, A> where C: BorrowMut FolderSetOrgPolicyCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4522,6 +4535,7 @@ impl<'a, C, A> FolderListOrgPolicyCall<'a, C, A> where C: BorrowMut FolderListOrgPolicyCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4803,6 +4817,7 @@ impl<'a, C, A> OrganizationClearOrgPolicyCall<'a, C, A> where C: BorrowMut OrganizationClearOrgPolicyCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5079,6 +5094,7 @@ impl<'a, C, A> OrganizationGetOrgPolicyCall<'a, C, A> where C: BorrowMut OrganizationGetOrgPolicyCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5355,6 +5371,7 @@ impl<'a, C, A> OrganizationListAvailableOrgPolicyConstraintCall<'a, C, A> where /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_cloudresourcemanager1 as cloudresourcemanager1; /// use cloudresourcemanager1::ListOrgPoliciesRequest; @@ -5365,9 +5382,9 @@ impl<'a, C, A> OrganizationListAvailableOrgPolicyConstraintCall<'a, C, A> where /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5633,6 +5650,7 @@ impl<'a, C, A> OrganizationListOrgPolicyCall<'a, C, A> where C: BorrowMut OrganizationListOrgPolicyCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5910,6 +5928,7 @@ impl<'a, C, A> OrganizationSetIamPolicyCall<'a, C, A> where C: BorrowMut OrganizationSetIamPolicyCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6157,6 +6176,7 @@ impl<'a, C, A> OrganizationGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_cloudresourcemanager1 as cloudresourcemanager1; /// use cloudresourcemanager1::GetEffectiveOrgPolicyRequest; @@ -6167,9 +6187,9 @@ impl<'a, C, A> OrganizationGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6436,6 +6456,7 @@ impl<'a, C, A> OrganizationGetEffectiveOrgPolicyCall<'a, C, A> where C: BorrowMu /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_cloudresourcemanager1 as cloudresourcemanager1; /// use cloudresourcemanager1::SearchOrganizationsRequest; @@ -6446,9 +6467,9 @@ impl<'a, C, A> OrganizationGetEffectiveOrgPolicyCall<'a, C, A> where C: BorrowMu /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6677,6 +6698,7 @@ impl<'a, C, A> OrganizationSearchCall<'a, C, A> where C: BorrowMut OrganizationSearchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6956,6 +6978,7 @@ impl<'a, C, A> OrganizationGetIamPolicyCall<'a, C, A> where C: BorrowMut OrganizationGetIamPolicyCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7237,6 +7260,7 @@ impl<'a, C, A> OrganizationTestIamPermissionCall<'a, C, A> where C: BorrowMut OrganizationTestIamPermissionCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7519,6 +7543,7 @@ impl<'a, C, A> OrganizationSetOrgPolicyCall<'a, C, A> where C: BorrowMut OrganizationSetOrgPolicyCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7762,6 +7787,7 @@ impl<'a, C, A> LienCreateCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_cloudresourcemanager1 as cloudresourcemanager1; /// # #[test] fn egal() { @@ -7771,9 +7797,9 @@ impl<'a, C, A> LienCreateCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8011,6 +8037,7 @@ impl<'a, C, A> LienDeleteCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_cloudresourcemanager1 as cloudresourcemanager1; /// # #[test] fn egal() { @@ -8020,9 +8047,9 @@ impl<'a, C, A> LienDeleteCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8279,6 +8306,7 @@ impl<'a, C, A> LienListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_cloudresourcemanager1 as cloudresourcemanager1; /// # #[test] fn egal() { @@ -8288,9 +8316,9 @@ impl<'a, C, A> LienListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8523,6 +8551,7 @@ impl<'a, C, A> ProjectDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_cloudresourcemanager1 as cloudresourcemanager1; /// use cloudresourcemanager1::GetIamPolicyRequest; @@ -8533,9 +8562,9 @@ impl<'a, C, A> ProjectDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8803,6 +8832,7 @@ impl<'a, C, A> ProjectGetIamPolicyCall<'a, C, A> where C: BorrowMut ProjectGetIamPolicyCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9047,6 +9077,7 @@ impl<'a, C, A> ProjectCreateCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_cloudresourcemanager1 as cloudresourcemanager1; /// use cloudresourcemanager1::GetOrgPolicyRequest; @@ -9057,9 +9088,9 @@ impl<'a, C, A> ProjectCreateCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9327,6 +9358,7 @@ impl<'a, C, A> ProjectGetOrgPolicyCall<'a, C, A> where C: BorrowMut ProjectGetOrgPolicyCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9603,6 +9635,7 @@ impl<'a, C, A> ProjectSetOrgPolicyCall<'a, C, A> where C: BorrowMut ProjectSetOrgPolicyCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9885,6 +9918,7 @@ impl<'a, C, A> ProjectClearOrgPolicyCall<'a, C, A> where C: BorrowMut ProjectClearOrgPolicyCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10159,6 +10193,7 @@ impl<'a, C, A> ProjectUndeleteCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_cloudresourcemanager1 as cloudresourcemanager1; /// use cloudresourcemanager1::ListOrgPoliciesRequest; @@ -10169,9 +10204,9 @@ impl<'a, C, A> ProjectUndeleteCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10435,6 +10470,7 @@ impl<'a, C, A> ProjectListOrgPolicyCall<'a, C, A> where C: BorrowMut ProjectListOrgPolicyCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10708,6 +10744,7 @@ impl<'a, C, A> ProjectTestIamPermissionCall<'a, C, A> where C: BorrowMut ProjectTestIamPermissionCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10987,6 +11024,7 @@ impl<'a, C, A> ProjectListAvailableOrgPolicyConstraintCall<'a, C, A> where C: Bo /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_cloudresourcemanager1 as cloudresourcemanager1; /// # #[test] fn egal() { @@ -10996,9 +11034,9 @@ impl<'a, C, A> ProjectListAvailableOrgPolicyConstraintCall<'a, C, A> where C: Bo /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11232,6 +11270,7 @@ impl<'a, C, A> ProjectGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_cloudresourcemanager1 as cloudresourcemanager1; /// # #[test] fn egal() { @@ -11241,9 +11280,9 @@ impl<'a, C, A> ProjectGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11540,6 +11579,7 @@ impl<'a, C, A> ProjectListCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_cloudresourcemanager1 as cloudresourcemanager1; /// use cloudresourcemanager1::SetIamPolicyRequest; @@ -11550,9 +11590,9 @@ impl<'a, C, A> ProjectListCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11816,6 +11856,7 @@ impl<'a, C, A> ProjectSetIamPolicyCall<'a, C, A> where C: BorrowMut ProjectSetIamPolicyCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12093,6 +12134,7 @@ impl<'a, C, A> ProjectGetAncestryCall<'a, C, A> where C: BorrowMut ProjectGetAncestryCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12369,6 +12411,7 @@ impl<'a, C, A> ProjectUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_cloudresourcemanager1 as cloudresourcemanager1; /// use cloudresourcemanager1::GetEffectiveOrgPolicyRequest; @@ -12379,9 +12422,9 @@ impl<'a, C, A> ProjectUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12647,6 +12690,7 @@ impl<'a, C, A> ProjectGetEffectiveOrgPolicyCall<'a, C, A> where C: BorrowMut ProjectGetEffectiveOrgPolicyCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/cloudresourcemanager1_beta1-cli/Cargo.toml b/gen/cloudresourcemanager1_beta1-cli/Cargo.toml index 459bb78707..a7c0beecfb 100644 --- a/gen/cloudresourcemanager1_beta1-cli/Cargo.toml +++ b/gen/cloudresourcemanager1_beta1-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["cloudresourcemanager", "google", "cli"] [[bin]] name = "cloudresourcemanager1-beta1" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/cloudresourcemanager1_beta1/Cargo.toml b/gen/cloudresourcemanager1_beta1/Cargo.toml index ed7fd91dd2..ae66706a96 100644 --- a/gen/cloudresourcemanager1_beta1/Cargo.toml +++ b/gen/cloudresourcemanager1_beta1/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["cloudresourcemanager", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/cloudresourcemanager1_beta1/README.md b/gen/cloudresourcemanager1_beta1/README.md index be141c16da..f2f3d9a0ab 100644 --- a/gen/cloudresourcemanager1_beta1/README.md +++ b/gen/cloudresourcemanager1_beta1/README.md @@ -81,6 +81,7 @@ google-cloudresourcemanager1_beta1 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_cloudresourcemanager1_beta1 as cloudresourcemanager1_beta1; use cloudresourcemanager1_beta1::{Result, Error}; @@ -97,9 +98,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! diff --git a/gen/cloudresourcemanager1_beta1/src/lib.rs b/gen/cloudresourcemanager1_beta1/src/lib.rs index 20096b9b2c..ab367b15e2 100644 --- a/gen/cloudresourcemanager1_beta1/src/lib.rs +++ b/gen/cloudresourcemanager1_beta1/src/lib.rs @@ -81,6 +81,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_cloudresourcemanager1_beta1 as cloudresourcemanager1_beta1; //! use cloudresourcemanager1_beta1::{Result, Error}; @@ -98,9 +99,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +//! let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! @@ -266,6 +267,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_cloudresourcemanager1_beta1 as cloudresourcemanager1_beta1; /// use cloudresourcemanager1_beta1::{Result, Error}; @@ -283,9 +285,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1019,6 +1021,7 @@ impl Part for OrganizationOwner {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_cloudresourcemanager1_beta1 as cloudresourcemanager1_beta1; /// @@ -1029,9 +1032,9 @@ impl Part for OrganizationOwner {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `get_iam_policy(...)`, `list(...)`, `set_iam_policy(...)`, `test_iam_permissions(...)` and `update(...)` /// // to build up your call. @@ -1182,6 +1185,7 @@ impl<'a, C, A> OrganizationMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_cloudresourcemanager1_beta1 as cloudresourcemanager1_beta1; /// @@ -1192,9 +1196,9 @@ impl<'a, C, A> OrganizationMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `delete(...)`, `get(...)`, `get_ancestry(...)`, `get_iam_policy(...)`, `list(...)`, `set_iam_policy(...)`, `test_iam_permissions(...)`, `undelete(...)` and `update(...)` /// // to build up your call. @@ -1506,6 +1510,7 @@ impl<'a, C, A> ProjectMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_cloudresourcemanager1_beta1 as cloudresourcemanager1_beta1; /// use cloudresourcemanager1_beta1::SetIamPolicyRequest; @@ -1516,9 +1521,9 @@ impl<'a, C, A> ProjectMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1785,6 +1790,7 @@ impl<'a, C, A> OrganizationSetIamPolicyCall<'a, C, A> where C: BorrowMut OrganizationSetIamPolicyCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2064,6 +2070,7 @@ impl<'a, C, A> OrganizationGetIamPolicyCall<'a, C, A> where C: BorrowMut OrganizationGetIamPolicyCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2341,6 +2348,7 @@ impl<'a, C, A> OrganizationTestIamPermissionCall<'a, C, A> where C: BorrowMut OrganizationTestIamPermissionCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2599,6 +2607,7 @@ impl<'a, C, A> OrganizationGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_cloudresourcemanager1_beta1 as cloudresourcemanager1_beta1; /// use cloudresourcemanager1_beta1::Organization; @@ -2609,9 +2618,9 @@ impl<'a, C, A> OrganizationGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2879,6 +2888,7 @@ impl<'a, C, A> OrganizationUpdateCall<'a, C, A> where C: BorrowMut OrganizationUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3138,6 +3148,7 @@ impl<'a, C, A> OrganizationListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_cloudresourcemanager1_beta1 as cloudresourcemanager1_beta1; /// use cloudresourcemanager1_beta1::TestIamPermissionsRequest; @@ -3148,9 +3159,9 @@ impl<'a, C, A> OrganizationListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3417,6 +3428,7 @@ impl<'a, C, A> ProjectTestIamPermissionCall<'a, C, A> where C: BorrowMut ProjectTestIamPermissionCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3698,6 +3710,7 @@ impl<'a, C, A> ProjectUndeleteCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_cloudresourcemanager1_beta1 as cloudresourcemanager1_beta1; /// use cloudresourcemanager1_beta1::Project; @@ -3708,9 +3721,9 @@ impl<'a, C, A> ProjectUndeleteCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3985,6 +3998,7 @@ impl<'a, C, A> ProjectCreateCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_cloudresourcemanager1_beta1 as cloudresourcemanager1_beta1; /// use cloudresourcemanager1_beta1::SetIamPolicyRequest; @@ -3995,9 +4009,9 @@ impl<'a, C, A> ProjectCreateCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4261,6 +4275,7 @@ impl<'a, C, A> ProjectSetIamPolicyCall<'a, C, A> where C: BorrowMut ProjectSetIamPolicyCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4507,6 +4522,7 @@ impl<'a, C, A> ProjectGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_cloudresourcemanager1_beta1 as cloudresourcemanager1_beta1; /// use cloudresourcemanager1_beta1::GetAncestryRequest; @@ -4517,9 +4533,9 @@ impl<'a, C, A> ProjectGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4784,6 +4800,7 @@ impl<'a, C, A> ProjectGetAncestryCall<'a, C, A> where C: BorrowMut ProjectGetAncestryCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5059,6 +5076,7 @@ impl<'a, C, A> ProjectUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_cloudresourcemanager1_beta1 as cloudresourcemanager1_beta1; /// use cloudresourcemanager1_beta1::GetIamPolicyRequest; @@ -5069,9 +5087,9 @@ impl<'a, C, A> ProjectUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5355,6 +5373,7 @@ impl<'a, C, A> ProjectGetIamPolicyCall<'a, C, A> where C: BorrowMut ProjectGetIamPolicyCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5600,6 +5619,7 @@ impl<'a, C, A> ProjectDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_cloudresourcemanager1_beta1 as cloudresourcemanager1_beta1; /// # #[test] fn egal() { @@ -5609,9 +5629,9 @@ impl<'a, C, A> ProjectDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudResourceManager::new(hyper::Client::new(), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/clouduseraccountsvm_beta-cli/Cargo.toml b/gen/clouduseraccountsvm_beta-cli/Cargo.toml index 5fcf5e2dee..54cc97c6d6 100644 --- a/gen/clouduseraccountsvm_beta-cli/Cargo.toml +++ b/gen/clouduseraccountsvm_beta-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["clouduseraccounts", "google", "cli"] [[bin]] name = "clouduseraccountsvm-beta" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/clouduseraccountsvm_beta/Cargo.toml b/gen/clouduseraccountsvm_beta/Cargo.toml index b657f0246f..224da5d190 100644 --- a/gen/clouduseraccountsvm_beta/Cargo.toml +++ b/gen/clouduseraccountsvm_beta/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["clouduseraccounts", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/clouduseraccountsvm_beta/README.md b/gen/clouduseraccountsvm_beta/README.md index 5361a4e289..1066e2198d 100644 --- a/gen/clouduseraccountsvm_beta/README.md +++ b/gen/clouduseraccountsvm_beta/README.md @@ -84,6 +84,7 @@ google-clouduseraccountsvm_beta = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_clouduseraccountsvm_beta as clouduseraccountsvm_beta; use clouduseraccountsvm_beta::PublicKey; @@ -101,9 +102,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = CloudUserAccounts::new(hyper::Client::new(), auth); +let mut hub = CloudUserAccounts::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! diff --git a/gen/clouduseraccountsvm_beta/src/lib.rs b/gen/clouduseraccountsvm_beta/src/lib.rs index 003ab25e5a..35e73f7a10 100644 --- a/gen/clouduseraccountsvm_beta/src/lib.rs +++ b/gen/clouduseraccountsvm_beta/src/lib.rs @@ -84,6 +84,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_clouduseraccountsvm_beta as clouduseraccountsvm_beta; //! use clouduseraccountsvm_beta::PublicKey; @@ -102,9 +103,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = CloudUserAccounts::new(hyper::Client::new(), auth); +//! let mut hub = CloudUserAccounts::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! @@ -280,6 +281,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_clouduseraccountsvm_beta as clouduseraccountsvm_beta; /// use clouduseraccountsvm_beta::PublicKey; @@ -298,9 +300,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = CloudUserAccounts::new(hyper::Client::new(), auth); +/// let mut hub = CloudUserAccounts::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -902,6 +904,7 @@ impl ResponseResult for Operation {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_clouduseraccountsvm_beta as clouduseraccountsvm_beta; /// @@ -912,9 +915,9 @@ impl ResponseResult for Operation {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = CloudUserAccounts::new(hyper::Client::new(), auth); +/// let mut hub = CloudUserAccounts::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)` and `list(...)` /// // to build up your call. @@ -1002,6 +1005,7 @@ impl<'a, C, A> GlobalAccountsOperationMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_clouduseraccountsvm_beta as clouduseraccountsvm_beta; /// @@ -1012,9 +1016,9 @@ impl<'a, C, A> GlobalAccountsOperationMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = CloudUserAccounts::new(hyper::Client::new(), auth); +/// let mut hub = CloudUserAccounts::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `add_public_key(...)`, `delete(...)`, `get(...)`, `insert(...)`, `list(...)` and `remove_public_key(...)` /// // to build up your call. @@ -1163,6 +1167,7 @@ impl<'a, C, A> UserMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_clouduseraccountsvm_beta as clouduseraccountsvm_beta; /// @@ -1173,9 +1178,9 @@ impl<'a, C, A> UserMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = CloudUserAccounts::new(hyper::Client::new(), auth); +/// let mut hub = CloudUserAccounts::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `add_member(...)`, `delete(...)`, `get(...)`, `insert(...)`, `list(...)` and `remove_member(...)` /// // to build up your call. @@ -1324,6 +1329,7 @@ impl<'a, C, A> GroupMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_clouduseraccountsvm_beta as clouduseraccountsvm_beta; /// @@ -1334,9 +1340,9 @@ impl<'a, C, A> GroupMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = CloudUserAccounts::new(hyper::Client::new(), auth); +/// let mut hub = CloudUserAccounts::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get_authorized_keys_view(...)` and `get_linux_account_views(...)` /// // to build up your call. @@ -1422,6 +1428,7 @@ impl<'a, C, A> LinuxMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_clouduseraccountsvm_beta as clouduseraccountsvm_beta; /// # #[test] fn egal() { @@ -1431,9 +1438,9 @@ impl<'a, C, A> LinuxMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudUserAccounts::new(hyper::Client::new(), auth); +/// # let mut hub = CloudUserAccounts::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1658,6 +1665,7 @@ impl<'a, C, A> GlobalAccountsOperationDeleteCall<'a, C, A> where C: BorrowMut GlobalAccountsOperationDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudUserAccounts::new(hyper::Client::new(), auth); +/// # let mut hub = CloudUserAccounts::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1953,6 +1961,7 @@ impl<'a, C, A> GlobalAccountsOperationListCall<'a, C, A> where C: BorrowMut GlobalAccountsOperationListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudUserAccounts::new(hyper::Client::new(), auth); +/// # let mut hub = CloudUserAccounts::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2200,6 +2209,7 @@ impl<'a, C, A> GlobalAccountsOperationGetCall<'a, C, A> where C: BorrowMut GlobalAccountsOperationGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudUserAccounts::new(hyper::Client::new(), auth); +/// # let mut hub = CloudUserAccounts::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2478,6 +2488,7 @@ impl<'a, C, A> UserAddPublicKeyCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_clouduseraccountsvm_beta as clouduseraccountsvm_beta; /// # #[test] fn egal() { @@ -2487,9 +2498,9 @@ impl<'a, C, A> UserAddPublicKeyCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudUserAccounts::new(hyper::Client::new(), auth); +/// # let mut hub = CloudUserAccounts::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2773,6 +2784,7 @@ impl<'a, C, A> UserListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_clouduseraccountsvm_beta as clouduseraccountsvm_beta; /// use clouduseraccountsvm_beta::User; @@ -2783,9 +2795,9 @@ impl<'a, C, A> UserListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudUserAccounts::new(hyper::Client::new(), auth); +/// # let mut hub = CloudUserAccounts::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3039,6 +3051,7 @@ impl<'a, C, A> UserInsertCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_clouduseraccountsvm_beta as clouduseraccountsvm_beta; /// # #[test] fn egal() { @@ -3048,9 +3061,9 @@ impl<'a, C, A> UserInsertCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudUserAccounts::new(hyper::Client::new(), auth); +/// # let mut hub = CloudUserAccounts::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3286,6 +3299,7 @@ impl<'a, C, A> UserGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_clouduseraccountsvm_beta as clouduseraccountsvm_beta; /// # #[test] fn egal() { @@ -3295,9 +3309,9 @@ impl<'a, C, A> UserGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudUserAccounts::new(hyper::Client::new(), auth); +/// # let mut hub = CloudUserAccounts::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3545,6 +3559,7 @@ impl<'a, C, A> UserRemovePublicKeyCall<'a, C, A> where C: BorrowMut UserRemovePublicKeyCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudUserAccounts::new(hyper::Client::new(), auth); +/// # let mut hub = CloudUserAccounts::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3792,6 +3807,7 @@ impl<'a, C, A> UserDeleteCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_clouduseraccountsvm_beta as clouduseraccountsvm_beta; /// # #[test] fn egal() { @@ -3801,9 +3817,9 @@ impl<'a, C, A> UserDeleteCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudUserAccounts::new(hyper::Client::new(), auth); +/// # let mut hub = CloudUserAccounts::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4039,6 +4055,7 @@ impl<'a, C, A> GroupDeleteCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_clouduseraccountsvm_beta as clouduseraccountsvm_beta; /// # #[test] fn egal() { @@ -4048,9 +4065,9 @@ impl<'a, C, A> GroupDeleteCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudUserAccounts::new(hyper::Client::new(), auth); +/// # let mut hub = CloudUserAccounts::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4286,6 +4303,7 @@ impl<'a, C, A> GroupGetCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_clouduseraccountsvm_beta as clouduseraccountsvm_beta; /// use clouduseraccountsvm_beta::GroupsAddMemberRequest; @@ -4296,9 +4314,9 @@ impl<'a, C, A> GroupGetCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudUserAccounts::new(hyper::Client::new(), auth); +/// # let mut hub = CloudUserAccounts::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4564,6 +4582,7 @@ impl<'a, C, A> GroupAddMemberCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_clouduseraccountsvm_beta as clouduseraccountsvm_beta; /// use clouduseraccountsvm_beta::Group; @@ -4574,9 +4593,9 @@ impl<'a, C, A> GroupAddMemberCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudUserAccounts::new(hyper::Client::new(), auth); +/// # let mut hub = CloudUserAccounts::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4830,6 +4849,7 @@ impl<'a, C, A> GroupInsertCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_clouduseraccountsvm_beta as clouduseraccountsvm_beta; /// # #[test] fn egal() { @@ -4839,9 +4859,9 @@ impl<'a, C, A> GroupInsertCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudUserAccounts::new(hyper::Client::new(), auth); +/// # let mut hub = CloudUserAccounts::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5125,6 +5145,7 @@ impl<'a, C, A> GroupListCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_clouduseraccountsvm_beta as clouduseraccountsvm_beta; /// use clouduseraccountsvm_beta::GroupsRemoveMemberRequest; @@ -5135,9 +5156,9 @@ impl<'a, C, A> GroupListCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudUserAccounts::new(hyper::Client::new(), auth); +/// # let mut hub = CloudUserAccounts::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5403,6 +5424,7 @@ impl<'a, C, A> GroupRemoveMemberCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_clouduseraccountsvm_beta as clouduseraccountsvm_beta; /// # #[test] fn egal() { @@ -5412,9 +5434,9 @@ impl<'a, C, A> GroupRemoveMemberCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudUserAccounts::new(hyper::Client::new(), auth); +/// # let mut hub = CloudUserAccounts::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5722,6 +5744,7 @@ impl<'a, C, A> LinuxGetLinuxAccountViewCall<'a, C, A> where C: BorrowMut LinuxGetLinuxAccountViewCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudUserAccounts::new(hyper::Client::new(), auth); +/// # let mut hub = CloudUserAccounts::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/container1-cli/Cargo.toml b/gen/container1-cli/Cargo.toml index fc0df33bec..fd1311fe38 100644 --- a/gen/container1-cli/Cargo.toml +++ b/gen/container1-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["container", "google", "cli"] [[bin]] name = "container1" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/container1/Cargo.toml b/gen/container1/Cargo.toml index a579b9d0c2..0c259a88b6 100644 --- a/gen/container1/Cargo.toml +++ b/gen/container1/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["container", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/container1/README.md b/gen/container1/README.md index 12ef95f258..02949c434b 100644 --- a/gen/container1/README.md +++ b/gen/container1/README.md @@ -82,6 +82,7 @@ google-container1 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_container1 as container1; use container1::RollbackNodePoolUpgradeRequest; @@ -99,9 +100,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Container::new(hyper::Client::new(), auth); +let mut hub = Container::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! diff --git a/gen/container1/src/lib.rs b/gen/container1/src/lib.rs index 94cdc5d027..29b51f7448 100644 --- a/gen/container1/src/lib.rs +++ b/gen/container1/src/lib.rs @@ -82,6 +82,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_container1 as container1; //! use container1::RollbackNodePoolUpgradeRequest; @@ -100,9 +101,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Container::new(hyper::Client::new(), auth); +//! let mut hub = Container::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! @@ -266,6 +267,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_container1 as container1; /// use container1::RollbackNodePoolUpgradeRequest; @@ -284,9 +286,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Container::new(hyper::Client::new(), auth); +/// let mut hub = Container::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1306,6 +1308,7 @@ impl RequestValue for StartIPRotationRequest {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_container1 as container1; /// @@ -1316,9 +1319,9 @@ impl RequestValue for StartIPRotationRequest {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Container::new(hyper::Client::new(), auth); +/// let mut hub = Container::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `zones_clusters_complete_ip_rotation(...)`, `zones_clusters_create(...)`, `zones_clusters_delete(...)`, `zones_clusters_get(...)`, `zones_clusters_legacy_abac(...)`, `zones_clusters_list(...)`, `zones_clusters_node_pools_create(...)`, `zones_clusters_node_pools_delete(...)`, `zones_clusters_node_pools_get(...)`, `zones_clusters_node_pools_list(...)`, `zones_clusters_node_pools_rollback(...)`, `zones_clusters_node_pools_set_management(...)`, `zones_clusters_resource_labels(...)`, `zones_clusters_set_master_auth(...)`, `zones_clusters_start_ip_rotation(...)`, `zones_clusters_update(...)`, `zones_get_serverconfig(...)`, `zones_operations_cancel(...)`, `zones_operations_get(...)` and `zones_operations_list(...)` /// // to build up your call. @@ -1878,6 +1881,7 @@ impl<'a, C, A> ProjectMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_container1 as container1; /// # #[test] fn egal() { @@ -1887,9 +1891,9 @@ impl<'a, C, A> ProjectMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Container::new(hyper::Client::new(), auth); +/// # let mut hub = Container::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2146,6 +2150,7 @@ impl<'a, C, A> ProjectZoneClusterGetCall<'a, C, A> where C: BorrowMut ProjectZoneClusterGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Container::new(hyper::Client::new(), auth); +/// # let mut hub = Container::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2401,6 +2406,7 @@ impl<'a, C, A> ProjectZoneGetServerconfigCall<'a, C, A> where C: BorrowMut ProjectZoneGetServerconfigCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Container::new(hyper::Client::new(), auth); +/// # let mut hub = Container::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2699,6 +2705,7 @@ impl<'a, C, A> ProjectZoneOperationCancelCall<'a, C, A> where C: BorrowMut ProjectZoneOperationCancelCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Container::new(hyper::Client::new(), auth); +/// # let mut hub = Container::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2969,6 +2976,7 @@ impl<'a, C, A> ProjectZoneClusterNodePoolListCall<'a, C, A> where C: BorrowMut ProjectZoneClusterNodePoolListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Container::new(hyper::Client::new(), auth); +/// # let mut hub = Container::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3276,6 +3284,7 @@ impl<'a, C, A> ProjectZoneClusterSetMasterAuthCall<'a, C, A> where C: BorrowMut< /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_container1 as container1; /// # #[test] fn egal() { @@ -3285,9 +3294,9 @@ impl<'a, C, A> ProjectZoneClusterSetMasterAuthCall<'a, C, A> where C: BorrowMut< /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Container::new(hyper::Client::new(), auth); +/// # let mut hub = Container::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3544,6 +3553,7 @@ impl<'a, C, A> ProjectZoneClusterDeleteCall<'a, C, A> where C: BorrowMut ProjectZoneClusterDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Container::new(hyper::Client::new(), auth); +/// # let mut hub = Container::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3843,6 +3853,7 @@ impl<'a, C, A> ProjectZoneClusterNodePoolCreateCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_container1 as container1; /// # #[test] fn egal() { @@ -3852,9 +3863,9 @@ impl<'a, C, A> ProjectZoneClusterNodePoolCreateCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Container::new(hyper::Client::new(), auth); +/// # let mut hub = Container::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4124,6 +4135,7 @@ impl<'a, C, A> ProjectZoneClusterNodePoolGetCall<'a, C, A> where C: BorrowMut ProjectZoneClusterNodePoolGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Container::new(hyper::Client::new(), auth); +/// # let mut hub = Container::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4435,6 +4447,7 @@ impl<'a, C, A> ProjectZoneClusterNodePoolRollbackCall<'a, C, A> where C: BorrowM /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_container1 as container1; /// use container1::StartIPRotationRequest; @@ -4445,9 +4458,9 @@ impl<'a, C, A> ProjectZoneClusterNodePoolRollbackCall<'a, C, A> where C: BorrowM /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Container::new(hyper::Client::new(), auth); +/// # let mut hub = Container::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4734,6 +4747,7 @@ impl<'a, C, A> ProjectZoneClusterStartIpRotationCall<'a, C, A> where C: BorrowMu /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_container1 as container1; /// use container1::CompleteIPRotationRequest; @@ -4744,9 +4758,9 @@ impl<'a, C, A> ProjectZoneClusterStartIpRotationCall<'a, C, A> where C: BorrowMu /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Container::new(hyper::Client::new(), auth); +/// # let mut hub = Container::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5033,6 +5047,7 @@ impl<'a, C, A> ProjectZoneClusterCompleteIpRotationCall<'a, C, A> where C: Borro /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_container1 as container1; /// use container1::SetNodePoolManagementRequest; @@ -5043,9 +5058,9 @@ impl<'a, C, A> ProjectZoneClusterCompleteIpRotationCall<'a, C, A> where C: Borro /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Container::new(hyper::Client::new(), auth); +/// # let mut hub = Container::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5344,6 +5359,7 @@ impl<'a, C, A> ProjectZoneClusterNodePoolSetManagementCall<'a, C, A> where C: Bo /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_container1 as container1; /// use container1::SetLegacyAbacRequest; @@ -5354,9 +5370,9 @@ impl<'a, C, A> ProjectZoneClusterNodePoolSetManagementCall<'a, C, A> where C: Bo /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Container::new(hyper::Client::new(), auth); +/// # let mut hub = Container::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5643,6 +5659,7 @@ impl<'a, C, A> ProjectZoneClusterLegacyAbacCall<'a, C, A> where C: BorrowMut ProjectZoneClusterLegacyAbacCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Container::new(hyper::Client::new(), auth); +/// # let mut hub = Container::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5911,6 +5928,7 @@ impl<'a, C, A> ProjectZoneOperationGetCall<'a, C, A> where C: BorrowMut ProjectZoneOperationGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Container::new(hyper::Client::new(), auth); +/// # let mut hub = Container::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6210,6 +6228,7 @@ impl<'a, C, A> ProjectZoneClusterResourceLabelCall<'a, C, A> where C: BorrowMut< /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_container1 as container1; /// # #[test] fn egal() { @@ -6219,9 +6238,9 @@ impl<'a, C, A> ProjectZoneClusterResourceLabelCall<'a, C, A> where C: BorrowMut< /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Container::new(hyper::Client::new(), auth); +/// # let mut hub = Container::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6477,6 +6496,7 @@ impl<'a, C, A> ProjectZoneOperationListCall<'a, C, A> where C: BorrowMut ProjectZoneOperationListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Container::new(hyper::Client::new(), auth); +/// # let mut hub = Container::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6764,6 +6784,7 @@ impl<'a, C, A> ProjectZoneClusterCreateCall<'a, C, A> where C: BorrowMut ProjectZoneClusterCreateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Container::new(hyper::Client::new(), auth); +/// # let mut hub = Container::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7064,6 +7085,7 @@ impl<'a, C, A> ProjectZoneClusterUpdateCall<'a, C, A> where C: BorrowMut ProjectZoneClusterUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Container::new(hyper::Client::new(), auth); +/// # let mut hub = Container::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7320,6 +7342,7 @@ impl<'a, C, A> ProjectZoneClusterListCall<'a, C, A> where C: BorrowMut ProjectZoneClusterListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Container::new(hyper::Client::new(), auth); +/// # let mut hub = Container::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/content2-cli/Cargo.toml b/gen/content2-cli/Cargo.toml index 9104942537..ee23deaf30 100644 --- a/gen/content2-cli/Cargo.toml +++ b/gen/content2-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["content", "google", "cli"] [[bin]] name = "content2" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/content2/Cargo.toml b/gen/content2/Cargo.toml index 2e8b2095d9..ba27952057 100644 --- a/gen/content2/Cargo.toml +++ b/gen/content2/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["content", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/content2/README.md b/gen/content2/README.md index d0ffe18d94..89fc3389be 100644 --- a/gen/content2/README.md +++ b/gen/content2/README.md @@ -102,6 +102,7 @@ google-content2 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_content2 as content2; use content2::{Result, Error}; @@ -118,9 +119,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! diff --git a/gen/content2/src/lib.rs b/gen/content2/src/lib.rs index e146b394bc..7ab2fe4e2c 100644 --- a/gen/content2/src/lib.rs +++ b/gen/content2/src/lib.rs @@ -102,6 +102,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_content2 as content2; //! use content2::{Result, Error}; @@ -119,9 +120,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +//! let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! @@ -287,6 +288,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_content2 as content2; /// use content2::{Result, Error}; @@ -304,9 +306,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4196,6 +4198,7 @@ impl Part for ShippingsettingsCustomBatchResponseEntry {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_content2 as content2; /// @@ -4206,9 +4209,9 @@ impl Part for ShippingsettingsCustomBatchResponseEntry {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `custombatch(...)`, `get(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -4337,6 +4340,7 @@ impl<'a, C, A> AccounttaxMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_content2 as content2; /// @@ -4347,9 +4351,9 @@ impl<'a, C, A> AccounttaxMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `custombatch(...)`, `get(...)`, `getsupportedcarriers(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -4495,6 +4499,7 @@ impl<'a, C, A> ShippingsettingMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_content2 as content2; /// @@ -4505,9 +4510,9 @@ impl<'a, C, A> ShippingsettingMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `custombatch(...)`, `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -4673,6 +4678,7 @@ impl<'a, C, A> DatafeedMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_content2 as content2; /// @@ -4683,9 +4689,9 @@ impl<'a, C, A> DatafeedMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `custombatch(...)`, `get(...)` and `list(...)` /// // to build up your call. @@ -4766,6 +4772,7 @@ impl<'a, C, A> AccountstatuseMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_content2 as content2; /// @@ -4776,9 +4783,9 @@ impl<'a, C, A> AccountstatuseMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `authinfo(...)`, `claimwebsite(...)`, `custombatch(...)`, `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -4979,6 +4986,7 @@ impl<'a, C, A> AccountMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_content2 as content2; /// @@ -4989,9 +4997,9 @@ impl<'a, C, A> AccountMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `custombatch(...)` and `set(...)` /// // to build up your call. @@ -5062,6 +5070,7 @@ impl<'a, C, A> InventoryMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_content2 as content2; /// @@ -5072,9 +5081,9 @@ impl<'a, C, A> InventoryMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `custombatch(...)`, `get(...)` and `list(...)` /// // to build up your call. @@ -5162,6 +5171,7 @@ impl<'a, C, A> ProductstatuseMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_content2 as content2; /// @@ -5172,9 +5182,9 @@ impl<'a, C, A> ProductstatuseMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `custombatch(...)`, `delete(...)`, `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -5300,6 +5310,7 @@ impl<'a, C, A> ProductMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_content2 as content2; /// @@ -5310,9 +5321,9 @@ impl<'a, C, A> ProductMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `custombatch(...)`, `get(...)` and `list(...)` /// // to build up your call. @@ -5393,6 +5404,7 @@ impl<'a, C, A> DatafeedstatuseMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_content2 as content2; /// @@ -5403,9 +5415,9 @@ impl<'a, C, A> DatafeedstatuseMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `acknowledge(...)`, `advancetestorder(...)`, `cancel(...)`, `cancellineitem(...)`, `createtestorder(...)`, `custombatch(...)`, `get(...)`, `getbymerchantorderid(...)`, `gettestordertemplate(...)`, `list(...)`, `refund(...)`, `returnlineitem(...)`, `shiplineitems(...)`, `updatemerchantorderid(...)` and `updateshipment(...)` /// // to build up your call. @@ -5746,6 +5758,7 @@ impl<'a, C, A> OrderMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_content2 as content2; /// use content2::AccounttaxCustomBatchRequest; @@ -5756,9 +5769,9 @@ impl<'a, C, A> OrderMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5991,6 +6004,7 @@ impl<'a, C, A> AccounttaxCustombatchCall<'a, C, A> where C: BorrowMut AccounttaxCustombatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6281,6 +6295,7 @@ impl<'a, C, A> AccounttaxPatchCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_content2 as content2; /// # #[test] fn egal() { @@ -6290,9 +6305,9 @@ impl<'a, C, A> AccounttaxPatchCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6540,6 +6555,7 @@ impl<'a, C, A> AccounttaxListCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_content2 as content2; /// use content2::AccountTax; @@ -6550,9 +6566,9 @@ impl<'a, C, A> AccounttaxListCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6830,6 +6846,7 @@ impl<'a, C, A> AccounttaxUpdateCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_content2 as content2; /// # #[test] fn egal() { @@ -6839,9 +6856,9 @@ impl<'a, C, A> AccounttaxUpdateCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7077,6 +7094,7 @@ impl<'a, C, A> AccounttaxGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_content2 as content2; /// use content2::ShippingSettings; @@ -7087,9 +7105,9 @@ impl<'a, C, A> AccounttaxGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7367,6 +7385,7 @@ impl<'a, C, A> ShippingsettingPatchCall<'a, C, A> where C: BorrowMut ShippingsettingPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7602,6 +7621,7 @@ impl<'a, C, A> ShippingsettingGetsupportedcarrierCall<'a, C, A> where C: BorrowM /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_content2 as content2; /// # #[test] fn egal() { @@ -7611,9 +7631,9 @@ impl<'a, C, A> ShippingsettingGetsupportedcarrierCall<'a, C, A> where C: BorrowM /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7861,6 +7881,7 @@ impl<'a, C, A> ShippingsettingListCall<'a, C, A> where C: BorrowMut ShippingsettingListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8106,6 +8127,7 @@ impl<'a, C, A> ShippingsettingCustombatchCall<'a, C, A> where C: BorrowMut ShippingsettingCustombatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8396,6 +8418,7 @@ impl<'a, C, A> ShippingsettingUpdateCall<'a, C, A> where C: BorrowMut ShippingsettingUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8641,6 +8664,7 @@ impl<'a, C, A> ShippingsettingGetCall<'a, C, A> where C: BorrowMut ShippingsettingGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8886,6 +8910,7 @@ impl<'a, C, A> DatafeedCustombatchCall<'a, C, A> where C: BorrowMut DatafeedCustombatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9131,6 +9156,7 @@ impl<'a, C, A> DatafeedGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_content2 as content2; /// use content2::Datafeed; @@ -9141,9 +9167,9 @@ impl<'a, C, A> DatafeedGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9419,6 +9445,7 @@ impl<'a, C, A> DatafeedPatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_content2 as content2; /// # #[test] fn egal() { @@ -9428,9 +9455,9 @@ impl<'a, C, A> DatafeedPatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9665,6 +9692,7 @@ impl<'a, C, A> DatafeedDeleteCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_content2 as content2; /// use content2::Datafeed; @@ -9675,9 +9703,9 @@ impl<'a, C, A> DatafeedDeleteCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9942,6 +9970,7 @@ impl<'a, C, A> DatafeedInsertCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_content2 as content2; /// # #[test] fn egal() { @@ -9951,9 +9980,9 @@ impl<'a, C, A> DatafeedInsertCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10201,6 +10230,7 @@ impl<'a, C, A> DatafeedListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_content2 as content2; /// use content2::Datafeed; @@ -10211,9 +10241,9 @@ impl<'a, C, A> DatafeedListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10489,6 +10519,7 @@ impl<'a, C, A> DatafeedUpdateCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_content2 as content2; /// # #[test] fn egal() { @@ -10498,9 +10529,9 @@ impl<'a, C, A> DatafeedUpdateCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10734,6 +10765,7 @@ impl<'a, C, A> AccountstatuseGetCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_content2 as content2; /// use content2::AccountstatusesCustomBatchRequest; @@ -10744,9 +10776,9 @@ impl<'a, C, A> AccountstatuseGetCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10967,6 +10999,7 @@ impl<'a, C, A> AccountstatuseCustombatchCall<'a, C, A> where C: BorrowMut AccountstatuseCustombatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11226,6 +11259,7 @@ impl<'a, C, A> AccountstatuseListCall<'a, C, A> where C: BorrowMut AccountstatuseListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11516,6 +11550,7 @@ impl<'a, C, A> AccountUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_content2 as content2; /// # #[test] fn egal() { @@ -11525,9 +11560,9 @@ impl<'a, C, A> AccountUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11718,6 +11753,7 @@ impl<'a, C, A> AccountAuthinfoCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_content2 as content2; /// use content2::Account; @@ -11728,9 +11764,9 @@ impl<'a, C, A> AccountAuthinfoCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12008,6 +12044,7 @@ impl<'a, C, A> AccountPatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_content2 as content2; /// # #[test] fn egal() { @@ -12017,9 +12054,9 @@ impl<'a, C, A> AccountPatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12267,6 +12304,7 @@ impl<'a, C, A> AccountClaimwebsiteCall<'a, C, A> where C: BorrowMut AccountClaimwebsiteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12526,6 +12564,7 @@ impl<'a, C, A> AccountListCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_content2 as content2; /// # #[test] fn egal() { @@ -12535,9 +12574,9 @@ impl<'a, C, A> AccountListCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12774,6 +12813,7 @@ impl<'a, C, A> AccountDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_content2 as content2; /// use content2::AccountsCustomBatchRequest; @@ -12784,9 +12824,9 @@ impl<'a, C, A> AccountDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13019,6 +13059,7 @@ impl<'a, C, A> AccountCustombatchCall<'a, C, A> where C: BorrowMut AccountCustombatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13266,6 +13307,7 @@ impl<'a, C, A> AccountGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_content2 as content2; /// use content2::Account; @@ -13276,9 +13318,9 @@ impl<'a, C, A> AccountGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13544,6 +13586,7 @@ impl<'a, C, A> AccountInsertCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_content2 as content2; /// use content2::InventoryCustomBatchRequest; @@ -13554,9 +13597,9 @@ impl<'a, C, A> AccountInsertCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13789,6 +13832,7 @@ impl<'a, C, A> InventoryCustombatchCall<'a, C, A> where C: BorrowMut InventoryCustombatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14091,6 +14135,7 @@ impl<'a, C, A> InventorySetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_content2 as content2; /// # #[test] fn egal() { @@ -14100,9 +14145,9 @@ impl<'a, C, A> InventorySetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14350,6 +14395,7 @@ impl<'a, C, A> ProductstatuseGetCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_content2 as content2; /// # #[test] fn egal() { @@ -14359,9 +14405,9 @@ impl<'a, C, A> ProductstatuseGetCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14633,6 +14679,7 @@ impl<'a, C, A> ProductstatuseListCall<'a, C, A> where C: BorrowMut ProductstatuseListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14878,6 +14925,7 @@ impl<'a, C, A> ProductstatuseCustombatchCall<'a, C, A> where C: BorrowMut ProductstatuseCustombatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15149,6 +15197,7 @@ impl<'a, C, A> ProductListCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_content2 as content2; /// # #[test] fn egal() { @@ -15158,9 +15207,9 @@ impl<'a, C, A> ProductListCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15396,6 +15445,7 @@ impl<'a, C, A> ProductGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_content2 as content2; /// # #[test] fn egal() { @@ -15405,9 +15455,9 @@ impl<'a, C, A> ProductGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15644,6 +15694,7 @@ impl<'a, C, A> ProductDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_content2 as content2; /// use content2::ProductsCustomBatchRequest; @@ -15654,9 +15705,9 @@ impl<'a, C, A> ProductDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15889,6 +15940,7 @@ impl<'a, C, A> ProductCustombatchCall<'a, C, A> where C: BorrowMut ProductCustombatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16167,6 +16219,7 @@ impl<'a, C, A> ProductInsertCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_content2 as content2; /// # #[test] fn egal() { @@ -16176,9 +16229,9 @@ impl<'a, C, A> ProductInsertCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16412,6 +16465,7 @@ impl<'a, C, A> DatafeedstatuseGetCall<'a, C, A> where C: BorrowMut DatafeedstatuseGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16669,6 +16723,7 @@ impl<'a, C, A> DatafeedstatuseListCall<'a, C, A> where C: BorrowMut DatafeedstatuseListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16902,6 +16957,7 @@ impl<'a, C, A> DatafeedstatuseCustombatchCall<'a, C, A> where C: BorrowMut DatafeedstatuseCustombatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17226,6 +17282,7 @@ impl<'a, C, A> OrderListCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_content2 as content2; /// # #[test] fn egal() { @@ -17235,9 +17292,9 @@ impl<'a, C, A> OrderListCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17473,6 +17530,7 @@ impl<'a, C, A> OrderGettestordertemplateCall<'a, C, A> where C: BorrowMut OrderGettestordertemplateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17720,6 +17778,7 @@ impl<'a, C, A> OrderGetCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_content2 as content2; /// use content2::OrdersRefundRequest; @@ -17730,9 +17789,9 @@ impl<'a, C, A> OrderGetCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17998,6 +18057,7 @@ impl<'a, C, A> OrderRefundCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_content2 as content2; /// use content2::OrdersAcknowledgeRequest; @@ -18008,9 +18068,9 @@ impl<'a, C, A> OrderRefundCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18276,6 +18336,7 @@ impl<'a, C, A> OrderAcknowledgeCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_content2 as content2; /// use content2::OrdersUpdateMerchantOrderIdRequest; @@ -18286,9 +18347,9 @@ impl<'a, C, A> OrderAcknowledgeCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18554,6 +18615,7 @@ impl<'a, C, A> OrderUpdatemerchantorderidCall<'a, C, A> where C: BorrowMut OrderUpdatemerchantorderidCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18801,6 +18863,7 @@ impl<'a, C, A> OrderGetbymerchantorderidCall<'a, C, A> where C: BorrowMut OrderGetbymerchantorderidCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19067,6 +19130,7 @@ impl<'a, C, A> OrderCreatetestorderCall<'a, C, A> where C: BorrowMut OrderCreatetestorderCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19345,6 +19409,7 @@ impl<'a, C, A> OrderReturnlineitemCall<'a, C, A> where C: BorrowMut OrderReturnlineitemCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19578,6 +19643,7 @@ impl<'a, C, A> OrderCustombatchCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_content2 as content2; /// use content2::OrdersCancelLineItemRequest; @@ -19588,9 +19654,9 @@ impl<'a, C, A> OrderCustombatchCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19856,6 +19922,7 @@ impl<'a, C, A> OrderCancellineitemCall<'a, C, A> where C: BorrowMut OrderCancellineitemCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20134,6 +20201,7 @@ impl<'a, C, A> OrderShiplineitemCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_content2 as content2; /// use content2::OrdersUpdateShipmentRequest; @@ -20144,9 +20212,9 @@ impl<'a, C, A> OrderShiplineitemCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20412,6 +20480,7 @@ impl<'a, C, A> OrderUpdateshipmentCall<'a, C, A> where C: BorrowMut OrderUpdateshipmentCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20659,6 +20728,7 @@ impl<'a, C, A> OrderAdvancetestorderCall<'a, C, A> where C: BorrowMut OrderAdvancetestorderCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/content2_sandbox-cli/Cargo.toml b/gen/content2_sandbox-cli/Cargo.toml index f3e39b999c..f49d0171be 100644 --- a/gen/content2_sandbox-cli/Cargo.toml +++ b/gen/content2_sandbox-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["content", "google", "cli"] [[bin]] name = "content2-sandbox" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/content2_sandbox/Cargo.toml b/gen/content2_sandbox/Cargo.toml index 21dfe09cdf..01245100f0 100644 --- a/gen/content2_sandbox/Cargo.toml +++ b/gen/content2_sandbox/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["content", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/content2_sandbox/README.md b/gen/content2_sandbox/README.md index 7c3b55b123..3e1a510073 100644 --- a/gen/content2_sandbox/README.md +++ b/gen/content2_sandbox/README.md @@ -84,6 +84,7 @@ google-content2_sandbox = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_content2_sandbox as content2_sandbox; use content2_sandbox::{Result, Error}; @@ -100,9 +101,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! diff --git a/gen/content2_sandbox/src/lib.rs b/gen/content2_sandbox/src/lib.rs index 35cfa7fc55..d9f484fa47 100644 --- a/gen/content2_sandbox/src/lib.rs +++ b/gen/content2_sandbox/src/lib.rs @@ -84,6 +84,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_content2_sandbox as content2_sandbox; //! use content2_sandbox::{Result, Error}; @@ -101,9 +102,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +//! let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! @@ -269,6 +270,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_content2_sandbox as content2_sandbox; /// use content2_sandbox::{Result, Error}; @@ -286,9 +288,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1839,6 +1841,7 @@ impl Part for OrdersCustomBatchResponseEntry {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_content2_sandbox as content2_sandbox; /// @@ -1849,9 +1852,9 @@ impl Part for OrdersCustomBatchResponseEntry {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `acknowledge(...)`, `advancetestorder(...)`, `cancel(...)`, `cancellineitem(...)`, `createtestorder(...)`, `custombatch(...)`, `get(...)`, `getbymerchantorderid(...)`, `gettestordertemplate(...)`, `list(...)`, `refund(...)`, `returnlineitem(...)`, `shiplineitems(...)`, `updatemerchantorderid(...)` and `updateshipment(...)` /// // to build up your call. @@ -2192,6 +2195,7 @@ impl<'a, C, A> OrderMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_content2_sandbox as content2_sandbox; /// # #[test] fn egal() { @@ -2201,9 +2205,9 @@ impl<'a, C, A> OrderMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2439,6 +2443,7 @@ impl<'a, C, A> OrderGetCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_content2_sandbox as content2_sandbox; /// # #[test] fn egal() { @@ -2448,9 +2453,9 @@ impl<'a, C, A> OrderGetCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2763,6 +2768,7 @@ impl<'a, C, A> OrderListCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_content2_sandbox as content2_sandbox; /// use content2_sandbox::OrdersUpdateShipmentRequest; @@ -2773,9 +2779,9 @@ impl<'a, C, A> OrderListCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3041,6 +3047,7 @@ impl<'a, C, A> OrderUpdateshipmentCall<'a, C, A> where C: BorrowMut OrderUpdateshipmentCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3288,6 +3295,7 @@ impl<'a, C, A> OrderAdvancetestorderCall<'a, C, A> where C: BorrowMut OrderAdvancetestorderCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3566,6 +3574,7 @@ impl<'a, C, A> OrderUpdatemerchantorderidCall<'a, C, A> where C: BorrowMut OrderUpdatemerchantorderidCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3844,6 +3853,7 @@ impl<'a, C, A> OrderReturnlineitemCall<'a, C, A> where C: BorrowMut OrderReturnlineitemCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4091,6 +4101,7 @@ impl<'a, C, A> OrderGettestordertemplateCall<'a, C, A> where C: BorrowMut OrderGettestordertemplateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4357,6 +4368,7 @@ impl<'a, C, A> OrderCreatetestorderCall<'a, C, A> where C: BorrowMut OrderCreatetestorderCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4635,6 +4647,7 @@ impl<'a, C, A> OrderRefundCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_content2_sandbox as content2_sandbox; /// use content2_sandbox::OrdersCustomBatchRequest; @@ -4645,9 +4658,9 @@ impl<'a, C, A> OrderRefundCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4868,6 +4881,7 @@ impl<'a, C, A> OrderCustombatchCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_content2_sandbox as content2_sandbox; /// use content2_sandbox::OrdersCancelLineItemRequest; @@ -4878,9 +4892,9 @@ impl<'a, C, A> OrderCustombatchCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5146,6 +5160,7 @@ impl<'a, C, A> OrderCancellineitemCall<'a, C, A> where C: BorrowMut OrderCancellineitemCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5393,6 +5408,7 @@ impl<'a, C, A> OrderGetbymerchantorderidCall<'a, C, A> where C: BorrowMut OrderGetbymerchantorderidCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5671,6 +5687,7 @@ impl<'a, C, A> OrderAcknowledgeCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_content2_sandbox as content2_sandbox; /// use content2_sandbox::OrdersCancelRequest; @@ -5681,9 +5698,9 @@ impl<'a, C, A> OrderAcknowledgeCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5949,6 +5966,7 @@ impl<'a, C, A> OrderCancelCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_content2_sandbox as content2_sandbox; /// use content2_sandbox::OrdersShipLineItemsRequest; @@ -5959,9 +5977,9 @@ impl<'a, C, A> OrderCancelCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = ShoppingContent::new(hyper::Client::new(), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/coordinate1-cli/Cargo.toml b/gen/coordinate1-cli/Cargo.toml index c86bca8d78..11ac4ea849 100644 --- a/gen/coordinate1-cli/Cargo.toml +++ b/gen/coordinate1-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["coordinate", "google", "cli"] [[bin]] name = "coordinate1" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/coordinate1/Cargo.toml b/gen/coordinate1/Cargo.toml index ebb549e1b7..8a8ad45ed5 100644 --- a/gen/coordinate1/Cargo.toml +++ b/gen/coordinate1/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["coordinate", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/coordinate1/README.md b/gen/coordinate1/README.md index a2b4cc0bbe..8b2b11e01f 100644 --- a/gen/coordinate1/README.md +++ b/gen/coordinate1/README.md @@ -84,6 +84,7 @@ google-coordinate1 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_coordinate1 as coordinate1; use coordinate1::Job; @@ -101,9 +102,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Coordinate::new(hyper::Client::new(), auth); +let mut hub = Coordinate::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! diff --git a/gen/coordinate1/src/lib.rs b/gen/coordinate1/src/lib.rs index f81bcf3e5f..efc66174d8 100644 --- a/gen/coordinate1/src/lib.rs +++ b/gen/coordinate1/src/lib.rs @@ -84,6 +84,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_coordinate1 as coordinate1; //! use coordinate1::Job; @@ -102,9 +103,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Coordinate::new(hyper::Client::new(), auth); +//! let mut hub = Coordinate::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! @@ -282,6 +283,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_coordinate1 as coordinate1; /// use coordinate1::Job; @@ -300,9 +302,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Coordinate::new(hyper::Client::new(), auth); +/// let mut hub = Coordinate::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -820,6 +822,7 @@ impl Part for CustomField {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_coordinate1 as coordinate1; /// @@ -830,9 +833,9 @@ impl Part for CustomField {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Coordinate::new(hyper::Client::new(), auth); +/// let mut hub = Coordinate::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -995,6 +998,7 @@ impl<'a, C, A> JobMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_coordinate1 as coordinate1; /// @@ -1005,9 +1009,9 @@ impl<'a, C, A> JobMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Coordinate::new(hyper::Client::new(), auth); +/// let mut hub = Coordinate::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -1105,6 +1109,7 @@ impl<'a, C, A> ScheduleMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_coordinate1 as coordinate1; /// @@ -1115,9 +1120,9 @@ impl<'a, C, A> ScheduleMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Coordinate::new(hyper::Client::new(), auth); +/// let mut hub = Coordinate::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -1163,6 +1168,7 @@ impl<'a, C, A> WorkerMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_coordinate1 as coordinate1; /// @@ -1173,9 +1179,9 @@ impl<'a, C, A> WorkerMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Coordinate::new(hyper::Client::new(), auth); +/// let mut hub = Coordinate::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -1227,6 +1233,7 @@ impl<'a, C, A> LocationMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_coordinate1 as coordinate1; /// @@ -1237,9 +1244,9 @@ impl<'a, C, A> LocationMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Coordinate::new(hyper::Client::new(), auth); +/// let mut hub = Coordinate::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -1283,6 +1290,7 @@ impl<'a, C, A> TeamMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_coordinate1 as coordinate1; /// @@ -1293,9 +1301,9 @@ impl<'a, C, A> TeamMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Coordinate::new(hyper::Client::new(), auth); +/// let mut hub = Coordinate::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -1349,6 +1357,7 @@ impl<'a, C, A> CustomFieldDefMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_coordinate1 as coordinate1; /// # #[test] fn egal() { @@ -1358,9 +1367,9 @@ impl<'a, C, A> CustomFieldDefMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Coordinate::new(hyper::Client::new(), auth); +/// # let mut hub = Coordinate::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1596,6 +1605,7 @@ impl<'a, C, A> JobGetCall<'a, C, A> where C: BorrowMut, A: oauth2 /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_coordinate1 as coordinate1; /// use coordinate1::Job; @@ -1606,9 +1616,9 @@ impl<'a, C, A> JobGetCall<'a, C, A> where C: BorrowMut, A: oauth2 /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Coordinate::new(hyper::Client::new(), auth); +/// # let mut hub = Coordinate::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1997,6 +2007,7 @@ impl<'a, C, A> JobUpdateCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_coordinate1 as coordinate1; /// use coordinate1::Job; @@ -2007,9 +2018,9 @@ impl<'a, C, A> JobUpdateCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Coordinate::new(hyper::Client::new(), auth); +/// # let mut hub = Coordinate::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2398,6 +2409,7 @@ impl<'a, C, A> JobPatchCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_coordinate1 as coordinate1; /// # #[test] fn egal() { @@ -2407,9 +2419,9 @@ impl<'a, C, A> JobPatchCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Coordinate::new(hyper::Client::new(), auth); +/// # let mut hub = Coordinate::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2681,6 +2693,7 @@ impl<'a, C, A> JobListCall<'a, C, A> where C: BorrowMut, A: oauth /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_coordinate1 as coordinate1; /// use coordinate1::Job; @@ -2691,9 +2704,9 @@ impl<'a, C, A> JobListCall<'a, C, A> where C: BorrowMut, A: oauth /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Coordinate::new(hyper::Client::new(), auth); +/// # let mut hub = Coordinate::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3058,6 +3071,7 @@ impl<'a, C, A> JobInsertCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_coordinate1 as coordinate1; /// use coordinate1::Schedule; @@ -3068,9 +3082,9 @@ impl<'a, C, A> JobInsertCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Coordinate::new(hyper::Client::new(), auth); +/// # let mut hub = Coordinate::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3384,6 +3398,7 @@ impl<'a, C, A> ScheduleUpdateCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_coordinate1 as coordinate1; /// use coordinate1::Schedule; @@ -3394,9 +3409,9 @@ impl<'a, C, A> ScheduleUpdateCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Coordinate::new(hyper::Client::new(), auth); +/// # let mut hub = Coordinate::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3710,6 +3725,7 @@ impl<'a, C, A> SchedulePatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_coordinate1 as coordinate1; /// # #[test] fn egal() { @@ -3719,9 +3735,9 @@ impl<'a, C, A> SchedulePatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Coordinate::new(hyper::Client::new(), auth); +/// # let mut hub = Coordinate::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3957,6 +3973,7 @@ impl<'a, C, A> ScheduleGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_coordinate1 as coordinate1; /// # #[test] fn egal() { @@ -3966,9 +3983,9 @@ impl<'a, C, A> ScheduleGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Coordinate::new(hyper::Client::new(), auth); +/// # let mut hub = Coordinate::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4192,6 +4209,7 @@ impl<'a, C, A> WorkerListCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_coordinate1 as coordinate1; /// # #[test] fn egal() { @@ -4201,9 +4219,9 @@ impl<'a, C, A> WorkerListCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Coordinate::new(hyper::Client::new(), auth); +/// # let mut hub = Coordinate::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4475,6 +4493,7 @@ impl<'a, C, A> LocationListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_coordinate1 as coordinate1; /// # #[test] fn egal() { @@ -4484,9 +4503,9 @@ impl<'a, C, A> LocationListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Coordinate::new(hyper::Client::new(), auth); +/// # let mut hub = Coordinate::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4713,6 +4732,7 @@ impl<'a, C, A> TeamListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_coordinate1 as coordinate1; /// # #[test] fn egal() { @@ -4722,9 +4742,9 @@ impl<'a, C, A> TeamListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Coordinate::new(hyper::Client::new(), auth); +/// # let mut hub = Coordinate::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/customsearch1-cli/Cargo.toml b/gen/customsearch1-cli/Cargo.toml index 068f0800e2..755bc20c99 100644 --- a/gen/customsearch1-cli/Cargo.toml +++ b/gen/customsearch1-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["customsearch", "google", "cli"] [[bin]] name = "customsearch1" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/customsearch1/Cargo.toml b/gen/customsearch1/Cargo.toml index 8773409b49..3bd676f482 100644 --- a/gen/customsearch1/Cargo.toml +++ b/gen/customsearch1/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["customsearch", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/customsearch1/README.md b/gen/customsearch1/README.md index bc96c7863d..f5f846cc43 100644 --- a/gen/customsearch1/README.md +++ b/gen/customsearch1/README.md @@ -70,6 +70,7 @@ google-customsearch1 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_customsearch1 as customsearch1; use customsearch1::{Result, Error}; @@ -86,9 +87,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Customsearch::new(hyper::Client::new(), auth); +let mut hub = Customsearch::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! diff --git a/gen/customsearch1/src/lib.rs b/gen/customsearch1/src/lib.rs index 359305413c..2c250e26a7 100644 --- a/gen/customsearch1/src/lib.rs +++ b/gen/customsearch1/src/lib.rs @@ -70,6 +70,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_customsearch1 as customsearch1; //! use customsearch1::{Result, Error}; @@ -87,9 +88,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Customsearch::new(hyper::Client::new(), auth); +//! let mut hub = Customsearch::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! @@ -257,6 +258,7 @@ pub use cmn::{MultiPartReader, ToParts, MethodInfo, Result, Error, CallBuilder, /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_customsearch1 as customsearch1; /// use customsearch1::{Result, Error}; @@ -274,9 +276,9 @@ pub use cmn::{MultiPartReader, ToParts, MethodInfo, Result, Error, CallBuilder, /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Customsearch::new(hyper::Client::new(), auth); +/// let mut hub = Customsearch::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -799,6 +801,7 @@ impl Part for ResultLabels {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_customsearch1 as customsearch1; /// @@ -809,9 +812,9 @@ impl Part for ResultLabels {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Customsearch::new(hyper::Client::new(), auth); +/// let mut hub = Customsearch::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -895,6 +898,7 @@ impl<'a, C, A> CseMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_customsearch1 as customsearch1; /// # #[test] fn egal() { @@ -904,9 +908,9 @@ impl<'a, C, A> CseMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Customsearch::new(hyper::Client::new(), auth); +/// # let mut hub = Customsearch::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/dataproc1-cli/Cargo.toml b/gen/dataproc1-cli/Cargo.toml index 52eaad8ffa..5d043ebbb7 100644 --- a/gen/dataproc1-cli/Cargo.toml +++ b/gen/dataproc1-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["dataproc", "google", "cli"] [[bin]] name = "dataproc1" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/dataproc1/Cargo.toml b/gen/dataproc1/Cargo.toml index 3cb8fb3ab3..7be3edf522 100644 --- a/gen/dataproc1/Cargo.toml +++ b/gen/dataproc1/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["dataproc", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/dataproc1/README.md b/gen/dataproc1/README.md index b42f852737..c5566778aa 100644 --- a/gen/dataproc1/README.md +++ b/gen/dataproc1/README.md @@ -74,6 +74,7 @@ google-dataproc1 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_dataproc1 as dataproc1; use dataproc1::Cluster; @@ -91,9 +92,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Dataproc::new(hyper::Client::new(), auth); +let mut hub = Dataproc::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! diff --git a/gen/dataproc1/src/lib.rs b/gen/dataproc1/src/lib.rs index 021f5e00ea..d4135a8283 100644 --- a/gen/dataproc1/src/lib.rs +++ b/gen/dataproc1/src/lib.rs @@ -74,6 +74,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_dataproc1 as dataproc1; //! use dataproc1::Cluster; @@ -92,9 +93,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Dataproc::new(hyper::Client::new(), auth); +//! let mut hub = Dataproc::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! @@ -259,6 +260,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dataproc1 as dataproc1; /// use dataproc1::Cluster; @@ -277,9 +279,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dataproc::new(hyper::Client::new(), auth); +/// let mut hub = Dataproc::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1221,6 +1223,7 @@ impl RequestValue for CancelJobRequest {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dataproc1 as dataproc1; /// @@ -1231,9 +1234,9 @@ impl RequestValue for CancelJobRequest {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dataproc::new(hyper::Client::new(), auth); +/// let mut hub = Dataproc::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `regions_clusters_create(...)`, `regions_clusters_delete(...)`, `regions_clusters_diagnose(...)`, `regions_clusters_get(...)`, `regions_clusters_list(...)`, `regions_clusters_patch(...)`, `regions_jobs_cancel(...)`, `regions_jobs_delete(...)`, `regions_jobs_get(...)`, `regions_jobs_list(...)`, `regions_jobs_patch(...)`, `regions_jobs_submit(...)`, `regions_operations_cancel(...)`, `regions_operations_delete(...)`, `regions_operations_get(...)` and `regions_operations_list(...)` /// // to build up your call. @@ -1607,6 +1610,7 @@ impl<'a, C, A> ProjectMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dataproc1 as dataproc1; /// # #[test] fn egal() { @@ -1616,9 +1620,9 @@ impl<'a, C, A> ProjectMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dataproc::new(hyper::Client::new(), auth); +/// # let mut hub = Dataproc::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1872,6 +1876,7 @@ impl<'a, C, A> ProjectRegionClusterGetCall<'a, C, A> where C: BorrowMut ProjectRegionClusterGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dataproc::new(hyper::Client::new(), auth); +/// # let mut hub = Dataproc::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2161,6 +2166,7 @@ impl<'a, C, A> ProjectRegionClusterListCall<'a, C, A> where C: BorrowMut ProjectRegionClusterListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dataproc::new(hyper::Client::new(), auth); +/// # let mut hub = Dataproc::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2474,6 +2480,7 @@ impl<'a, C, A> ProjectRegionJobListCall<'a, C, A> where C: BorrowMut ProjectRegionJobListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dataproc::new(hyper::Client::new(), auth); +/// # let mut hub = Dataproc::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2798,6 +2805,7 @@ impl<'a, C, A> ProjectRegionClusterPatchCall<'a, C, A> where C: BorrowMut ProjectRegionClusterPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dataproc::new(hyper::Client::new(), auth); +/// # let mut hub = Dataproc::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3063,6 +3071,7 @@ impl<'a, C, A> ProjectRegionJobGetCall<'a, C, A> where C: BorrowMut ProjectRegionJobGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dataproc::new(hyper::Client::new(), auth); +/// # let mut hub = Dataproc::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3308,6 +3317,7 @@ impl<'a, C, A> ProjectRegionOperationCancelCall<'a, C, A> where C: BorrowMut ProjectRegionOperationCancelCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dataproc::new(hyper::Client::new(), auth); +/// # let mut hub = Dataproc::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3553,6 +3563,7 @@ impl<'a, C, A> ProjectRegionOperationGetCall<'a, C, A> where C: BorrowMut ProjectRegionOperationGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dataproc::new(hyper::Client::new(), auth); +/// # let mut hub = Dataproc::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3818,6 +3829,7 @@ impl<'a, C, A> ProjectRegionClusterDeleteCall<'a, C, A> where C: BorrowMut ProjectRegionClusterDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dataproc::new(hyper::Client::new(), auth); +/// # let mut hub = Dataproc::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4114,6 +4126,7 @@ impl<'a, C, A> ProjectRegionClusterDiagnoseCall<'a, C, A> where C: BorrowMut ProjectRegionClusterDiagnoseCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dataproc::new(hyper::Client::new(), auth); +/// # let mut hub = Dataproc::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4398,6 +4411,7 @@ impl<'a, C, A> ProjectRegionJobSubmitCall<'a, C, A> where C: BorrowMut ProjectRegionJobSubmitCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dataproc::new(hyper::Client::new(), auth); +/// # let mut hub = Dataproc::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4682,6 +4696,7 @@ impl<'a, C, A> ProjectRegionClusterCreateCall<'a, C, A> where C: BorrowMut ProjectRegionClusterCreateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dataproc::new(hyper::Client::new(), auth); +/// # let mut hub = Dataproc::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4947,6 +4962,7 @@ impl<'a, C, A> ProjectRegionJobDeleteCall<'a, C, A> where C: BorrowMut ProjectRegionJobDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dataproc::new(hyper::Client::new(), auth); +/// # let mut hub = Dataproc::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5192,6 +5208,7 @@ impl<'a, C, A> ProjectRegionOperationDeleteCall<'a, C, A> where C: BorrowMut ProjectRegionOperationDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dataproc::new(hyper::Client::new(), auth); +/// # let mut hub = Dataproc::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5473,6 +5490,7 @@ impl<'a, C, A> ProjectRegionOperationListCall<'a, C, A> where C: BorrowMut ProjectRegionOperationListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dataproc::new(hyper::Client::new(), auth); +/// # let mut hub = Dataproc::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5781,6 +5799,7 @@ impl<'a, C, A> ProjectRegionJobPatchCall<'a, C, A> where C: BorrowMut ProjectRegionJobPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dataproc::new(hyper::Client::new(), auth); +/// # let mut hub = Dataproc::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/deploymentmanager2-cli/Cargo.toml b/gen/deploymentmanager2-cli/Cargo.toml index a94975290b..2b3e570b8d 100644 --- a/gen/deploymentmanager2-cli/Cargo.toml +++ b/gen/deploymentmanager2-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["deploymentmanager", "google", "cli"] [[bin]] name = "deploymentmanager2" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/deploymentmanager2/Cargo.toml b/gen/deploymentmanager2/Cargo.toml index 9bd0a0f60a..d21c98edce 100644 --- a/gen/deploymentmanager2/Cargo.toml +++ b/gen/deploymentmanager2/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["deploymentmanager", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/deploymentmanager2/README.md b/gen/deploymentmanager2/README.md index 847961f5a4..381f776fb4 100644 --- a/gen/deploymentmanager2/README.md +++ b/gen/deploymentmanager2/README.md @@ -88,6 +88,7 @@ google-deploymentmanager2 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_deploymentmanager2 as deploymentmanager2; use deploymentmanager2::Deployment; @@ -105,9 +106,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = DeploymentManager::new(hyper::Client::new(), auth); +let mut hub = DeploymentManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! diff --git a/gen/deploymentmanager2/src/lib.rs b/gen/deploymentmanager2/src/lib.rs index 2d338e5c95..6a9d46376c 100644 --- a/gen/deploymentmanager2/src/lib.rs +++ b/gen/deploymentmanager2/src/lib.rs @@ -88,6 +88,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_deploymentmanager2 as deploymentmanager2; //! use deploymentmanager2::Deployment; @@ -106,9 +107,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = DeploymentManager::new(hyper::Client::new(), auth); +//! let mut hub = DeploymentManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! @@ -287,6 +288,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_deploymentmanager2 as deploymentmanager2; /// use deploymentmanager2::Deployment; @@ -305,9 +307,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = DeploymentManager::new(hyper::Client::new(), auth); +/// let mut hub = DeploymentManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1355,6 +1357,7 @@ impl Part for ResourceWarningsData {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_deploymentmanager2 as deploymentmanager2; /// @@ -1365,9 +1368,9 @@ impl Part for ResourceWarningsData {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = DeploymentManager::new(hyper::Client::new(), auth); +/// let mut hub = DeploymentManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -1436,6 +1439,7 @@ impl<'a, C, A> OperationMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_deploymentmanager2 as deploymentmanager2; /// @@ -1446,9 +1450,9 @@ impl<'a, C, A> OperationMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = DeploymentManager::new(hyper::Client::new(), auth); +/// let mut hub = DeploymentManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -1521,6 +1525,7 @@ impl<'a, C, A> ManifestMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_deploymentmanager2 as deploymentmanager2; /// @@ -1531,9 +1536,9 @@ impl<'a, C, A> ManifestMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = DeploymentManager::new(hyper::Client::new(), auth); +/// let mut hub = DeploymentManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -1583,6 +1588,7 @@ impl<'a, C, A> TypeMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_deploymentmanager2 as deploymentmanager2; /// @@ -1593,9 +1599,9 @@ impl<'a, C, A> TypeMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = DeploymentManager::new(hyper::Client::new(), auth); +/// let mut hub = DeploymentManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -1668,6 +1674,7 @@ impl<'a, C, A> ResourceMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_deploymentmanager2 as deploymentmanager2; /// @@ -1678,9 +1685,9 @@ impl<'a, C, A> ResourceMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = DeploymentManager::new(hyper::Client::new(), auth); +/// let mut hub = DeploymentManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `cancel_preview(...)`, `delete(...)`, `get(...)`, `get_iam_policy(...)`, `insert(...)`, `list(...)`, `patch(...)`, `set_iam_policy(...)`, `stop(...)`, `test_iam_permissions(...)` and `update(...)` /// // to build up your call. @@ -1948,6 +1955,7 @@ impl<'a, C, A> DeploymentMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_deploymentmanager2 as deploymentmanager2; /// # #[test] fn egal() { @@ -1957,9 +1965,9 @@ impl<'a, C, A> DeploymentMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = DeploymentManager::new(hyper::Client::new(), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2195,6 +2203,7 @@ impl<'a, C, A> OperationGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_deploymentmanager2 as deploymentmanager2; /// # #[test] fn egal() { @@ -2204,9 +2213,9 @@ impl<'a, C, A> OperationGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = DeploymentManager::new(hyper::Client::new(), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2490,6 +2499,7 @@ impl<'a, C, A> OperationListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_deploymentmanager2 as deploymentmanager2; /// # #[test] fn egal() { @@ -2499,9 +2509,9 @@ impl<'a, C, A> OperationListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = DeploymentManager::new(hyper::Client::new(), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2797,6 +2807,7 @@ impl<'a, C, A> ManifestListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_deploymentmanager2 as deploymentmanager2; /// # #[test] fn egal() { @@ -2806,9 +2817,9 @@ impl<'a, C, A> ManifestListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = DeploymentManager::new(hyper::Client::new(), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3056,6 +3067,7 @@ impl<'a, C, A> ManifestGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_deploymentmanager2 as deploymentmanager2; /// # #[test] fn egal() { @@ -3065,9 +3077,9 @@ impl<'a, C, A> ManifestGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = DeploymentManager::new(hyper::Client::new(), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3351,6 +3363,7 @@ impl<'a, C, A> TypeListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_deploymentmanager2 as deploymentmanager2; /// # #[test] fn egal() { @@ -3360,9 +3373,9 @@ impl<'a, C, A> TypeListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = DeploymentManager::new(hyper::Client::new(), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3610,6 +3623,7 @@ impl<'a, C, A> ResourceGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_deploymentmanager2 as deploymentmanager2; /// # #[test] fn egal() { @@ -3619,9 +3633,9 @@ impl<'a, C, A> ResourceGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = DeploymentManager::new(hyper::Client::new(), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3917,6 +3931,7 @@ impl<'a, C, A> ResourceListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_deploymentmanager2 as deploymentmanager2; /// use deploymentmanager2::Deployment; @@ -3927,9 +3942,9 @@ impl<'a, C, A> ResourceListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = DeploymentManager::new(hyper::Client::new(), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4231,6 +4246,7 @@ impl<'a, C, A> DeploymentUpdateCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_deploymentmanager2 as deploymentmanager2; /// # #[test] fn egal() { @@ -4240,9 +4256,9 @@ impl<'a, C, A> DeploymentUpdateCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = DeploymentManager::new(hyper::Client::new(), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4478,6 +4494,7 @@ impl<'a, C, A> DeploymentGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_deploymentmanager2 as deploymentmanager2; /// use deploymentmanager2::Deployment; @@ -4488,9 +4505,9 @@ impl<'a, C, A> DeploymentGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = DeploymentManager::new(hyper::Client::new(), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4756,6 +4773,7 @@ impl<'a, C, A> DeploymentInsertCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_deploymentmanager2 as deploymentmanager2; /// use deploymentmanager2::TestPermissionsRequest; @@ -4766,9 +4784,9 @@ impl<'a, C, A> DeploymentInsertCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = DeploymentManager::new(hyper::Client::new(), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5034,6 +5052,7 @@ impl<'a, C, A> DeploymentTestIamPermissionCall<'a, C, A> where C: BorrowMut DeploymentTestIamPermissionCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = DeploymentManager::new(hyper::Client::new(), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5281,6 +5300,7 @@ impl<'a, C, A> DeploymentGetIamPolicyCall<'a, C, A> where C: BorrowMut DeploymentGetIamPolicyCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = DeploymentManager::new(hyper::Client::new(), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5559,6 +5579,7 @@ impl<'a, C, A> DeploymentCancelPreviewCall<'a, C, A> where C: BorrowMut DeploymentCancelPreviewCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = DeploymentManager::new(hyper::Client::new(), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5854,6 +5875,7 @@ impl<'a, C, A> DeploymentListCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_deploymentmanager2 as deploymentmanager2; /// use deploymentmanager2::Deployment; @@ -5864,9 +5886,9 @@ impl<'a, C, A> DeploymentListCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = DeploymentManager::new(hyper::Client::new(), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6168,6 +6190,7 @@ impl<'a, C, A> DeploymentPatchCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_deploymentmanager2 as deploymentmanager2; /// use deploymentmanager2::DeploymentsStopRequest; @@ -6178,9 +6201,9 @@ impl<'a, C, A> DeploymentPatchCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = DeploymentManager::new(hyper::Client::new(), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6446,6 +6469,7 @@ impl<'a, C, A> DeploymentStopCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_deploymentmanager2 as deploymentmanager2; /// use deploymentmanager2::Policy; @@ -6456,9 +6480,9 @@ impl<'a, C, A> DeploymentStopCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = DeploymentManager::new(hyper::Client::new(), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6724,6 +6748,7 @@ impl<'a, C, A> DeploymentSetIamPolicyCall<'a, C, A> where C: BorrowMut DeploymentSetIamPolicyCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = DeploymentManager::new(hyper::Client::new(), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/deploymentmanager2_beta2-cli/Cargo.toml b/gen/deploymentmanager2_beta2-cli/Cargo.toml index 6c2d836f7c..f11f9748a0 100644 --- a/gen/deploymentmanager2_beta2-cli/Cargo.toml +++ b/gen/deploymentmanager2_beta2-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["deploymentmanager", "google", "cli"] [[bin]] name = "deploymentmanager2-beta2" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/deploymentmanager2_beta2/Cargo.toml b/gen/deploymentmanager2_beta2/Cargo.toml index 20ae3cccb4..fbc620d7a3 100644 --- a/gen/deploymentmanager2_beta2/Cargo.toml +++ b/gen/deploymentmanager2_beta2/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["deploymentmanager", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/deploymentmanager2_beta2/README.md b/gen/deploymentmanager2_beta2/README.md index 632a626fad..c75bedebb2 100644 --- a/gen/deploymentmanager2_beta2/README.md +++ b/gen/deploymentmanager2_beta2/README.md @@ -83,6 +83,7 @@ google-deploymentmanager2_beta2 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_deploymentmanager2_beta2 as deploymentmanager2_beta2; use deploymentmanager2_beta2::Deployment; @@ -100,9 +101,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = DeploymentManager::new(hyper::Client::new(), auth); +let mut hub = DeploymentManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! diff --git a/gen/deploymentmanager2_beta2/src/lib.rs b/gen/deploymentmanager2_beta2/src/lib.rs index 4c66e5993c..35f69237b2 100644 --- a/gen/deploymentmanager2_beta2/src/lib.rs +++ b/gen/deploymentmanager2_beta2/src/lib.rs @@ -83,6 +83,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_deploymentmanager2_beta2 as deploymentmanager2_beta2; //! use deploymentmanager2_beta2::Deployment; @@ -101,9 +102,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = DeploymentManager::new(hyper::Client::new(), auth); +//! let mut hub = DeploymentManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! @@ -282,6 +283,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_deploymentmanager2_beta2 as deploymentmanager2_beta2; /// use deploymentmanager2_beta2::Deployment; @@ -300,9 +302,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = DeploymentManager::new(hyper::Client::new(), auth); +/// let mut hub = DeploymentManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -897,6 +899,7 @@ impl ResponseResult for ManifestsListResponse {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_deploymentmanager2_beta2 as deploymentmanager2_beta2; /// @@ -907,9 +910,9 @@ impl ResponseResult for ManifestsListResponse {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = DeploymentManager::new(hyper::Client::new(), auth); +/// let mut hub = DeploymentManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -977,6 +980,7 @@ impl<'a, C, A> OperationMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_deploymentmanager2_beta2 as deploymentmanager2_beta2; /// @@ -987,9 +991,9 @@ impl<'a, C, A> OperationMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = DeploymentManager::new(hyper::Client::new(), auth); +/// let mut hub = DeploymentManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -1061,6 +1065,7 @@ impl<'a, C, A> ManifestMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_deploymentmanager2_beta2 as deploymentmanager2_beta2; /// @@ -1071,9 +1076,9 @@ impl<'a, C, A> ManifestMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = DeploymentManager::new(hyper::Client::new(), auth); +/// let mut hub = DeploymentManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -1145,6 +1150,7 @@ impl<'a, C, A> ResourceMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_deploymentmanager2_beta2 as deploymentmanager2_beta2; /// @@ -1155,9 +1161,9 @@ impl<'a, C, A> ResourceMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = DeploymentManager::new(hyper::Client::new(), auth); +/// let mut hub = DeploymentManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -1206,6 +1212,7 @@ impl<'a, C, A> TypeMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_deploymentmanager2_beta2 as deploymentmanager2_beta2; /// @@ -1216,9 +1223,9 @@ impl<'a, C, A> TypeMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = DeploymentManager::new(hyper::Client::new(), auth); +/// let mut hub = DeploymentManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -1380,6 +1387,7 @@ impl<'a, C, A> DeploymentMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_deploymentmanager2_beta2 as deploymentmanager2_beta2; /// # #[test] fn egal() { @@ -1389,9 +1397,9 @@ impl<'a, C, A> DeploymentMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = DeploymentManager::new(hyper::Client::new(), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1627,6 +1635,7 @@ impl<'a, C, A> OperationGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_deploymentmanager2_beta2 as deploymentmanager2_beta2; /// # #[test] fn egal() { @@ -1636,9 +1645,9 @@ impl<'a, C, A> OperationGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = DeploymentManager::new(hyper::Client::new(), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1906,6 +1915,7 @@ impl<'a, C, A> OperationListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_deploymentmanager2_beta2 as deploymentmanager2_beta2; /// # #[test] fn egal() { @@ -1915,9 +1925,9 @@ impl<'a, C, A> OperationListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = DeploymentManager::new(hyper::Client::new(), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2197,6 +2207,7 @@ impl<'a, C, A> ManifestListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_deploymentmanager2_beta2 as deploymentmanager2_beta2; /// # #[test] fn egal() { @@ -2206,9 +2217,9 @@ impl<'a, C, A> ManifestListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = DeploymentManager::new(hyper::Client::new(), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2456,6 +2467,7 @@ impl<'a, C, A> ManifestGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_deploymentmanager2_beta2 as deploymentmanager2_beta2; /// # #[test] fn egal() { @@ -2465,9 +2477,9 @@ impl<'a, C, A> ManifestGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = DeploymentManager::new(hyper::Client::new(), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2715,6 +2727,7 @@ impl<'a, C, A> ResourceGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_deploymentmanager2_beta2 as deploymentmanager2_beta2; /// # #[test] fn egal() { @@ -2724,9 +2737,9 @@ impl<'a, C, A> ResourceGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = DeploymentManager::new(hyper::Client::new(), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3006,6 +3019,7 @@ impl<'a, C, A> ResourceListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_deploymentmanager2_beta2 as deploymentmanager2_beta2; /// # #[test] fn egal() { @@ -3015,9 +3029,9 @@ impl<'a, C, A> ResourceListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = DeploymentManager::new(hyper::Client::new(), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3285,6 +3299,7 @@ impl<'a, C, A> TypeListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_deploymentmanager2_beta2 as deploymentmanager2_beta2; /// use deploymentmanager2_beta2::Deployment; @@ -3295,9 +3310,9 @@ impl<'a, C, A> TypeListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = DeploymentManager::new(hyper::Client::new(), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3599,6 +3614,7 @@ impl<'a, C, A> DeploymentUpdateCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_deploymentmanager2_beta2 as deploymentmanager2_beta2; /// # #[test] fn egal() { @@ -3608,9 +3624,9 @@ impl<'a, C, A> DeploymentUpdateCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = DeploymentManager::new(hyper::Client::new(), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3846,6 +3862,7 @@ impl<'a, C, A> DeploymentGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_deploymentmanager2_beta2 as deploymentmanager2_beta2; /// use deploymentmanager2_beta2::Deployment; @@ -3856,9 +3873,9 @@ impl<'a, C, A> DeploymentGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = DeploymentManager::new(hyper::Client::new(), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4112,6 +4129,7 @@ impl<'a, C, A> DeploymentInsertCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_deploymentmanager2_beta2 as deploymentmanager2_beta2; /// # #[test] fn egal() { @@ -4121,9 +4139,9 @@ impl<'a, C, A> DeploymentInsertCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = DeploymentManager::new(hyper::Client::new(), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4391,6 +4409,7 @@ impl<'a, C, A> DeploymentListCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_deploymentmanager2_beta2 as deploymentmanager2_beta2; /// use deploymentmanager2_beta2::Deployment; @@ -4401,9 +4420,9 @@ impl<'a, C, A> DeploymentListCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = DeploymentManager::new(hyper::Client::new(), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4705,6 +4724,7 @@ impl<'a, C, A> DeploymentPatchCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_deploymentmanager2_beta2 as deploymentmanager2_beta2; /// # #[test] fn egal() { @@ -4714,9 +4734,9 @@ impl<'a, C, A> DeploymentPatchCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = DeploymentManager::new(hyper::Client::new(), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/dfareporting2d1-cli/Cargo.toml b/gen/dfareporting2d1-cli/Cargo.toml index d97b942b85..5514ea3356 100644 --- a/gen/dfareporting2d1-cli/Cargo.toml +++ b/gen/dfareporting2d1-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["dfareporting", "google", "cli"] [[bin]] name = "dfareporting2d1" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/dfareporting2d1/Cargo.toml b/gen/dfareporting2d1/Cargo.toml index 169427b426..ff6cd0e6c8 100644 --- a/gen/dfareporting2d1/Cargo.toml +++ b/gen/dfareporting2d1/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["dfareporting", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/dfareporting2d1/README.md b/gen/dfareporting2d1/README.md index 2a0b9604b3..9c8bbe415a 100644 --- a/gen/dfareporting2d1/README.md +++ b/gen/dfareporting2d1/README.md @@ -196,6 +196,7 @@ google-dfareporting2d1 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_dfareporting2d1 as dfareporting2d1; use dfareporting2d1::{Result, Error}; @@ -212,9 +213,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Dfareporting::new(hyper::Client::new(), auth); +let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! diff --git a/gen/dfareporting2d1/src/lib.rs b/gen/dfareporting2d1/src/lib.rs index 52ba5ddee5..335864b49c 100644 --- a/gen/dfareporting2d1/src/lib.rs +++ b/gen/dfareporting2d1/src/lib.rs @@ -196,6 +196,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_dfareporting2d1 as dfareporting2d1; //! use dfareporting2d1::{Result, Error}; @@ -213,9 +214,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Dfareporting::new(hyper::Client::new(), auth); +//! let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! @@ -383,6 +384,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// use dfareporting2d1::{Result, Error}; @@ -400,9 +402,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6948,6 +6950,7 @@ impl ResponseResult for UserRolesListResponse {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// @@ -6958,9 +6961,9 @@ impl ResponseResult for UserRolesListResponse {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -7025,6 +7028,7 @@ impl<'a, C, A> UserRolePermissionGroupMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// @@ -7035,9 +7039,9 @@ impl<'a, C, A> UserRolePermissionGroupMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -7102,6 +7106,7 @@ impl<'a, C, A> PlatformTypeMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// @@ -7112,9 +7117,9 @@ impl<'a, C, A> PlatformTypeMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -7275,6 +7280,7 @@ impl<'a, C, A> CreativeFieldValueMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// @@ -7285,9 +7291,9 @@ impl<'a, C, A> CreativeFieldValueMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -7437,6 +7443,7 @@ impl<'a, C, A> CreativeFieldMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// @@ -7447,9 +7454,9 @@ impl<'a, C, A> CreativeFieldMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -7600,6 +7607,7 @@ impl<'a, C, A> UserRoleMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// @@ -7610,9 +7618,9 @@ impl<'a, C, A> UserRoleMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -7677,6 +7685,7 @@ impl<'a, C, A> OperatingSystemVersionMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// @@ -7687,9 +7696,9 @@ impl<'a, C, A> OperatingSystemVersionMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -7844,6 +7853,7 @@ impl<'a, C, A> LandingPageMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// @@ -7854,9 +7864,9 @@ impl<'a, C, A> LandingPageMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `insert(...)` /// // to build up your call. @@ -7906,6 +7916,7 @@ impl<'a, C, A> CreativeAssetMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// @@ -7916,9 +7927,9 @@ impl<'a, C, A> CreativeAssetMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `insert(...)` and `list(...)` /// // to build up your call. @@ -7990,6 +8001,7 @@ impl<'a, C, A> CampaignCreativeAssociationMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// @@ -8000,9 +8012,9 @@ impl<'a, C, A> CampaignCreativeAssociationMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -8077,6 +8089,7 @@ impl<'a, C, A> ChangeLogMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// @@ -8087,9 +8100,9 @@ impl<'a, C, A> ChangeLogMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -8177,6 +8190,7 @@ impl<'a, C, A> RemarketingListShareMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// @@ -8187,9 +8201,9 @@ impl<'a, C, A> RemarketingListShareMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `compatible_fields_query(...)`, `delete(...)`, `files_get(...)`, `files_list(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)`, `run(...)` and `update(...)` /// // to build up your call. @@ -8422,6 +8436,7 @@ impl<'a, C, A> ReportMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// @@ -8432,9 +8447,9 @@ impl<'a, C, A> ReportMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -8570,6 +8585,7 @@ impl<'a, C, A> AdvertiserMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// @@ -8580,9 +8596,9 @@ impl<'a, C, A> AdvertiserMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `query(...)` /// // to build up your call. @@ -8632,6 +8648,7 @@ impl<'a, C, A> DimensionValueMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// @@ -8642,9 +8659,9 @@ impl<'a, C, A> DimensionValueMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -8796,6 +8813,7 @@ impl<'a, C, A> FloodlightActivityGroupMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// @@ -8806,9 +8824,9 @@ impl<'a, C, A> FloodlightActivityGroupMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -8854,6 +8872,7 @@ impl<'a, C, A> MetroMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// @@ -8864,9 +8883,9 @@ impl<'a, C, A> MetroMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -8942,6 +8961,7 @@ impl<'a, C, A> OrderMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// @@ -8952,9 +8972,9 @@ impl<'a, C, A> OrderMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -9026,6 +9046,7 @@ impl<'a, C, A> DirectorySiteContactMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// @@ -9036,9 +9057,9 @@ impl<'a, C, A> DirectorySiteContactMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -9096,6 +9117,7 @@ impl<'a, C, A> UserProfileMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// @@ -9106,9 +9128,9 @@ impl<'a, C, A> UserProfileMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -9256,6 +9278,7 @@ impl<'a, C, A> AdMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// @@ -9266,9 +9289,9 @@ impl<'a, C, A> AdMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -9333,6 +9356,7 @@ impl<'a, C, A> AccountPermissionMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// @@ -9343,9 +9367,9 @@ impl<'a, C, A> AccountPermissionMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -9410,6 +9434,7 @@ impl<'a, C, A> ConnectionTypeMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// @@ -9420,9 +9445,9 @@ impl<'a, C, A> ConnectionTypeMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -9571,6 +9596,7 @@ impl<'a, C, A> AdvertiserGroupMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// @@ -9581,9 +9607,9 @@ impl<'a, C, A> AdvertiserGroupMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -9722,6 +9748,7 @@ impl<'a, C, A> SiteMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// @@ -9732,9 +9759,9 @@ impl<'a, C, A> SiteMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `generatetag(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -9908,6 +9935,7 @@ impl<'a, C, A> FloodlightActivityMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// @@ -9918,9 +9946,9 @@ impl<'a, C, A> FloodlightActivityMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -9966,6 +9994,7 @@ impl<'a, C, A> RegionMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// @@ -9976,9 +10005,9 @@ impl<'a, C, A> RegionMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -10110,6 +10139,7 @@ impl<'a, C, A> CreativeGroupMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// @@ -10120,9 +10150,9 @@ impl<'a, C, A> CreativeGroupMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -10195,6 +10225,7 @@ impl<'a, C, A> TargetableRemarketingListMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// @@ -10205,9 +10236,9 @@ impl<'a, C, A> TargetableRemarketingListMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -10337,6 +10368,7 @@ impl<'a, C, A> SubaccountMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// @@ -10347,9 +10379,9 @@ impl<'a, C, A> SubaccountMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -10414,6 +10446,7 @@ impl<'a, C, A> MobileCarrierMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// @@ -10424,9 +10457,9 @@ impl<'a, C, A> MobileCarrierMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -10532,6 +10565,7 @@ impl<'a, C, A> FloodlightConfigurationMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// @@ -10542,9 +10576,9 @@ impl<'a, C, A> FloodlightConfigurationMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -10609,6 +10643,7 @@ impl<'a, C, A> OperatingSystemMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// @@ -10619,9 +10654,9 @@ impl<'a, C, A> OperatingSystemMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -10691,6 +10726,7 @@ impl<'a, C, A> FileMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// @@ -10701,9 +10737,9 @@ impl<'a, C, A> FileMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -10842,6 +10878,7 @@ impl<'a, C, A> PlacementGroupMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// @@ -10852,9 +10889,9 @@ impl<'a, C, A> PlacementGroupMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -10931,6 +10968,7 @@ impl<'a, C, A> InventoryItemMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// @@ -10941,9 +10979,9 @@ impl<'a, C, A> InventoryItemMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11009,6 +11047,7 @@ impl<'a, C, A> UserRolePermissionMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// @@ -11019,9 +11058,9 @@ impl<'a, C, A> UserRolePermissionMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11086,6 +11125,7 @@ impl<'a, C, A> AccountPermissionGroupMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// @@ -11096,9 +11136,9 @@ impl<'a, C, A> AccountPermissionGroupMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -11247,6 +11287,7 @@ impl<'a, C, A> ContentCategoryMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// @@ -11257,9 +11298,9 @@ impl<'a, C, A> ContentCategoryMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -11399,6 +11440,7 @@ impl<'a, C, A> CreativeMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// @@ -11409,9 +11451,9 @@ impl<'a, C, A> CreativeMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -11552,6 +11594,7 @@ impl<'a, C, A> CampaignMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// @@ -11562,9 +11605,9 @@ impl<'a, C, A> CampaignMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -11717,6 +11760,7 @@ impl<'a, C, A> EventTagMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// @@ -11727,9 +11771,9 @@ impl<'a, C, A> EventTagMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -11862,6 +11906,7 @@ impl<'a, C, A> RemarketingListMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// @@ -11872,9 +11917,9 @@ impl<'a, C, A> RemarketingListMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -11924,6 +11969,7 @@ impl<'a, C, A> CityMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// @@ -11934,9 +11980,9 @@ impl<'a, C, A> CityMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -12085,6 +12131,7 @@ impl<'a, C, A> PlacementStrategyMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// @@ -12095,9 +12142,9 @@ impl<'a, C, A> PlacementStrategyMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -12169,6 +12216,7 @@ impl<'a, C, A> ProjectMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// @@ -12179,9 +12227,9 @@ impl<'a, C, A> ProjectMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -12278,6 +12326,7 @@ impl<'a, C, A> DirectorySiteMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// @@ -12288,9 +12337,9 @@ impl<'a, C, A> DirectorySiteMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -12378,6 +12427,7 @@ impl<'a, C, A> SizeMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// @@ -12388,9 +12438,9 @@ impl<'a, C, A> SizeMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -12438,6 +12488,7 @@ impl<'a, C, A> AccountActiveAdSummaryMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// @@ -12448,9 +12499,9 @@ impl<'a, C, A> AccountActiveAdSummaryMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -12583,6 +12634,7 @@ impl<'a, C, A> AccountUserProfileMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// @@ -12593,9 +12645,9 @@ impl<'a, C, A> AccountUserProfileMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -12660,6 +12712,7 @@ impl<'a, C, A> CountryMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// @@ -12670,9 +12723,9 @@ impl<'a, C, A> CountryMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -12750,6 +12803,7 @@ impl<'a, C, A> OrderDocumentMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// @@ -12760,9 +12814,9 @@ impl<'a, C, A> OrderDocumentMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -12827,6 +12881,7 @@ impl<'a, C, A> PostalCodeMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// @@ -12837,9 +12892,9 @@ impl<'a, C, A> PostalCodeMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -12885,6 +12940,7 @@ impl<'a, C, A> BrowserMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// @@ -12895,9 +12951,9 @@ impl<'a, C, A> BrowserMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -13009,6 +13065,7 @@ impl<'a, C, A> AccountMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d1 as dfareporting2d1; /// @@ -13019,9 +13076,9 @@ impl<'a, C, A> AccountMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `generatetags(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -13191,6 +13248,7 @@ impl<'a, C, A> PlacementMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -13200,9 +13258,9 @@ impl<'a, C, A> PlacementMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13438,6 +13496,7 @@ impl<'a, C, A> UserRolePermissionGroupGetCall<'a, C, A> where C: BorrowMut UserRolePermissionGroupGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13673,6 +13732,7 @@ impl<'a, C, A> UserRolePermissionGroupListCall<'a, C, A> where C: BorrowMut UserRolePermissionGroupListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13920,6 +13980,7 @@ impl<'a, C, A> PlatformTypeGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -13929,9 +13990,9 @@ impl<'a, C, A> PlatformTypeGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14155,6 +14216,7 @@ impl<'a, C, A> PlatformTypeListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// use dfareporting2d1::CreativeFieldValue; @@ -14165,9 +14227,9 @@ impl<'a, C, A> PlatformTypeListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14445,6 +14507,7 @@ impl<'a, C, A> CreativeFieldValuePatchCall<'a, C, A> where C: BorrowMut CreativeFieldValuePatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14704,6 +14767,7 @@ impl<'a, C, A> CreativeFieldValueGetCall<'a, C, A> where C: BorrowMut CreativeFieldValueGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14952,6 +15016,7 @@ impl<'a, C, A> CreativeFieldValueDeleteCall<'a, C, A> where C: BorrowMut CreativeFieldValueDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15230,6 +15295,7 @@ impl<'a, C, A> CreativeFieldValueInsertCall<'a, C, A> where C: BorrowMut CreativeFieldValueInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15508,6 +15574,7 @@ impl<'a, C, A> CreativeFieldValueUpdateCall<'a, C, A> where C: BorrowMut CreativeFieldValueUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15830,6 +15897,7 @@ impl<'a, C, A> CreativeFieldValueListCall<'a, C, A> where C: BorrowMut CreativeFieldValueListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16096,6 +16164,7 @@ impl<'a, C, A> CreativeFieldUpdateCall<'a, C, A> where C: BorrowMut CreativeFieldUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16421,6 +16490,7 @@ impl<'a, C, A> CreativeFieldListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -16430,9 +16500,9 @@ impl<'a, C, A> CreativeFieldListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16657,6 +16727,7 @@ impl<'a, C, A> CreativeFieldDeleteCall<'a, C, A> where C: BorrowMut CreativeFieldDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16904,6 +16975,7 @@ impl<'a, C, A> CreativeFieldGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// use dfareporting2d1::CreativeField; @@ -16914,9 +16986,9 @@ impl<'a, C, A> CreativeFieldGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17170,6 +17242,7 @@ impl<'a, C, A> CreativeFieldInsertCall<'a, C, A> where C: BorrowMut CreativeFieldInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17448,6 +17521,7 @@ impl<'a, C, A> CreativeFieldPatchCall<'a, C, A> where C: BorrowMut CreativeFieldPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17714,6 +17788,7 @@ impl<'a, C, A> UserRoleInsertCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -17723,9 +17798,9 @@ impl<'a, C, A> UserRoleInsertCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17961,6 +18036,7 @@ impl<'a, C, A> UserRoleGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// use dfareporting2d1::UserRole; @@ -17971,9 +18047,9 @@ impl<'a, C, A> UserRoleGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18227,6 +18303,7 @@ impl<'a, C, A> UserRoleUpdateCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -18236,9 +18313,9 @@ impl<'a, C, A> UserRoleUpdateCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18463,6 +18540,7 @@ impl<'a, C, A> UserRoleDeleteCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// use dfareporting2d1::UserRole; @@ -18473,9 +18551,9 @@ impl<'a, C, A> UserRoleDeleteCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18741,6 +18819,7 @@ impl<'a, C, A> UserRolePatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -18750,9 +18829,9 @@ impl<'a, C, A> UserRolePatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19075,6 +19154,7 @@ impl<'a, C, A> UserRoleListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -19084,9 +19164,9 @@ impl<'a, C, A> UserRoleListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19322,6 +19402,7 @@ impl<'a, C, A> OperatingSystemVersionGetCall<'a, C, A> where C: BorrowMut OperatingSystemVersionGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19557,6 +19638,7 @@ impl<'a, C, A> OperatingSystemVersionListCall<'a, C, A> where C: BorrowMut OperatingSystemVersionListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19816,6 +19898,7 @@ impl<'a, C, A> LandingPageGetCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// use dfareporting2d1::LandingPage; @@ -19826,9 +19909,9 @@ impl<'a, C, A> LandingPageGetCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20094,6 +20177,7 @@ impl<'a, C, A> LandingPageUpdateCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -20103,9 +20187,9 @@ impl<'a, C, A> LandingPageUpdateCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20341,6 +20425,7 @@ impl<'a, C, A> LandingPageListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// use dfareporting2d1::LandingPage; @@ -20351,9 +20436,9 @@ impl<'a, C, A> LandingPageListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20619,6 +20704,7 @@ impl<'a, C, A> LandingPageInsertCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// use dfareporting2d1::LandingPage; @@ -20629,9 +20715,9 @@ impl<'a, C, A> LandingPageInsertCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20909,6 +20995,7 @@ impl<'a, C, A> LandingPagePatchCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -20918,9 +21005,9 @@ impl<'a, C, A> LandingPagePatchCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21157,6 +21244,7 @@ impl<'a, C, A> LandingPageDeleteCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// use dfareporting2d1::CreativeAssetMetadata; @@ -21168,9 +21256,9 @@ impl<'a, C, A> LandingPageDeleteCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21549,6 +21637,7 @@ impl<'a, C, A> CreativeAssetInsertCall<'a, C, A> where C: BorrowMut CreativeAssetInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21827,6 +21916,7 @@ impl<'a, C, A> CampaignCreativeAssociationInsertCall<'a, C, A> where C: BorrowMu /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -21836,9 +21926,9 @@ impl<'a, C, A> CampaignCreativeAssociationInsertCall<'a, C, A> where C: BorrowMu /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22110,6 +22200,7 @@ impl<'a, C, A> CampaignCreativeAssociationListCall<'a, C, A> where C: BorrowMut< /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -22119,9 +22210,9 @@ impl<'a, C, A> CampaignCreativeAssociationListCall<'a, C, A> where C: BorrowMut< /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22474,6 +22565,7 @@ impl<'a, C, A> ChangeLogListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -22483,9 +22575,9 @@ impl<'a, C, A> ChangeLogListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22721,6 +22813,7 @@ impl<'a, C, A> ChangeLogGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -22730,9 +22823,9 @@ impl<'a, C, A> ChangeLogGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22968,6 +23061,7 @@ impl<'a, C, A> RemarketingListShareGetCall<'a, C, A> where C: BorrowMut RemarketingListShareGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23246,6 +23340,7 @@ impl<'a, C, A> RemarketingListSharePatchCall<'a, C, A> where C: BorrowMut RemarketingListSharePatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23512,6 +23607,7 @@ impl<'a, C, A> RemarketingListShareUpdateCall<'a, C, A> where C: BorrowMut RemarketingListShareUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23771,6 +23867,7 @@ impl<'a, C, A> ReportRunCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// use dfareporting2d1::Report; @@ -23781,9 +23878,9 @@ impl<'a, C, A> ReportRunCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24049,6 +24146,7 @@ impl<'a, C, A> ReportPatchCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -24058,9 +24156,9 @@ impl<'a, C, A> ReportPatchCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -24344,6 +24442,7 @@ impl<'a, C, A> ReportFileListCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// use dfareporting2d1::Report; @@ -24354,9 +24453,9 @@ impl<'a, C, A> ReportFileListCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24610,6 +24709,7 @@ impl<'a, C, A> ReportInsertCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// use dfareporting2d1::Report; @@ -24620,9 +24720,9 @@ impl<'a, C, A> ReportInsertCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24888,6 +24988,7 @@ impl<'a, C, A> ReportUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// use dfareporting2d1::Report; @@ -24898,9 +24999,9 @@ impl<'a, C, A> ReportUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -25154,6 +25255,7 @@ impl<'a, C, A> ReportCompatibleFieldQueryCall<'a, C, A> where C: BorrowMut ReportCompatibleFieldQueryCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25406,6 +25508,7 @@ impl<'a, C, A> ReportGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -25415,9 +25518,9 @@ impl<'a, C, A> ReportGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25681,6 +25784,7 @@ impl<'a, C, A> ReportFileGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -25690,9 +25794,9 @@ impl<'a, C, A> ReportFileGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25917,6 +26021,7 @@ impl<'a, C, A> ReportDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -25926,9 +26031,9 @@ impl<'a, C, A> ReportDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -26212,6 +26317,7 @@ impl<'a, C, A> ReportListCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// use dfareporting2d1::Advertiser; @@ -26222,9 +26328,9 @@ impl<'a, C, A> ReportListCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -26478,6 +26584,7 @@ impl<'a, C, A> AdvertiserInsertCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// use dfareporting2d1::Advertiser; @@ -26488,9 +26595,9 @@ impl<'a, C, A> AdvertiserInsertCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -26756,6 +26863,7 @@ impl<'a, C, A> AdvertiserPatchCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -26765,9 +26873,9 @@ impl<'a, C, A> AdvertiserPatchCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -27144,6 +27252,7 @@ impl<'a, C, A> AdvertiserListCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// use dfareporting2d1::Advertiser; @@ -27154,9 +27263,9 @@ impl<'a, C, A> AdvertiserListCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -27410,6 +27519,7 @@ impl<'a, C, A> AdvertiserUpdateCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -27419,9 +27529,9 @@ impl<'a, C, A> AdvertiserUpdateCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -27657,6 +27767,7 @@ impl<'a, C, A> AdvertiserGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// use dfareporting2d1::DimensionValueRequest; @@ -27667,9 +27778,9 @@ impl<'a, C, A> AdvertiserGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -27947,6 +28058,7 @@ impl<'a, C, A> DimensionValueQueryCall<'a, C, A> where C: BorrowMut DimensionValueQueryCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -28183,6 +28295,7 @@ impl<'a, C, A> FloodlightActivityGroupDeleteCall<'a, C, A> where C: BorrowMut FloodlightActivityGroupDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -28430,6 +28543,7 @@ impl<'a, C, A> FloodlightActivityGroupGetCall<'a, C, A> where C: BorrowMut FloodlightActivityGroupGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -28708,6 +28822,7 @@ impl<'a, C, A> FloodlightActivityGroupPatchCall<'a, C, A> where C: BorrowMut FloodlightActivityGroupPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -29054,6 +29169,7 @@ impl<'a, C, A> FloodlightActivityGroupListCall<'a, C, A> where C: BorrowMut FloodlightActivityGroupListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -29320,6 +29436,7 @@ impl<'a, C, A> FloodlightActivityGroupInsertCall<'a, C, A> where C: BorrowMut FloodlightActivityGroupInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -29586,6 +29703,7 @@ impl<'a, C, A> FloodlightActivityGroupUpdateCall<'a, C, A> where C: BorrowMut FloodlightActivityGroupUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -29821,6 +29939,7 @@ impl<'a, C, A> MetroListCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -29830,9 +29949,9 @@ impl<'a, C, A> MetroListCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30158,6 +30277,7 @@ impl<'a, C, A> OrderListCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -30167,9 +30287,9 @@ impl<'a, C, A> OrderListCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30417,6 +30537,7 @@ impl<'a, C, A> OrderGetCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -30426,9 +30547,9 @@ impl<'a, C, A> OrderGetCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30664,6 +30785,7 @@ impl<'a, C, A> DirectorySiteContactGetCall<'a, C, A> where C: BorrowMut DirectorySiteContactGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30989,6 +31111,7 @@ impl<'a, C, A> DirectorySiteContactListCall<'a, C, A> where C: BorrowMut DirectorySiteContactListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -31191,6 +31314,7 @@ impl<'a, C, A> UserProfileListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -31200,9 +31324,9 @@ impl<'a, C, A> UserProfileListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -31426,6 +31550,7 @@ impl<'a, C, A> UserProfileGetCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// use dfareporting2d1::Ad; @@ -31436,9 +31561,9 @@ impl<'a, C, A> UserProfileGetCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -31704,6 +31829,7 @@ impl<'a, C, A> AdPatchCall<'a, C, A> where C: BorrowMut, A: oauth /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// use dfareporting2d1::Ad; @@ -31714,9 +31840,9 @@ impl<'a, C, A> AdPatchCall<'a, C, A> where C: BorrowMut, A: oauth /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -31970,6 +32096,7 @@ impl<'a, C, A> AdInsertCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -31979,9 +32106,9 @@ impl<'a, C, A> AdInsertCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -32523,6 +32650,7 @@ impl<'a, C, A> AdListCall<'a, C, A> where C: BorrowMut, A: oauth2 /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -32532,9 +32660,9 @@ impl<'a, C, A> AdListCall<'a, C, A> where C: BorrowMut, A: oauth2 /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -32770,6 +32898,7 @@ impl<'a, C, A> AdGetCall<'a, C, A> where C: BorrowMut, A: oauth2: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// use dfareporting2d1::Ad; @@ -32780,9 +32909,9 @@ impl<'a, C, A> AdGetCall<'a, C, A> where C: BorrowMut, A: oauth2: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -33036,6 +33165,7 @@ impl<'a, C, A> AdUpdateCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -33045,9 +33175,9 @@ impl<'a, C, A> AdUpdateCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -33283,6 +33413,7 @@ impl<'a, C, A> AccountPermissionGetCall<'a, C, A> where C: BorrowMut AccountPermissionGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -33518,6 +33649,7 @@ impl<'a, C, A> AccountPermissionListCall<'a, C, A> where C: BorrowMut AccountPermissionListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -33753,6 +33885,7 @@ impl<'a, C, A> ConnectionTypeListCall<'a, C, A> where C: BorrowMut ConnectionTypeListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -34000,6 +34133,7 @@ impl<'a, C, A> ConnectionTypeGetCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -34009,9 +34143,9 @@ impl<'a, C, A> ConnectionTypeGetCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -34247,6 +34381,7 @@ impl<'a, C, A> AdvertiserGroupGetCall<'a, C, A> where C: BorrowMut AdvertiserGroupGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -34557,6 +34692,7 @@ impl<'a, C, A> AdvertiserGroupListCall<'a, C, A> where C: BorrowMut AdvertiserGroupListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -34823,6 +34959,7 @@ impl<'a, C, A> AdvertiserGroupInsertCall<'a, C, A> where C: BorrowMut AdvertiserGroupInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -35089,6 +35226,7 @@ impl<'a, C, A> AdvertiserGroupUpdateCall<'a, C, A> where C: BorrowMut AdvertiserGroupUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -35367,6 +35505,7 @@ impl<'a, C, A> AdvertiserGroupPatchCall<'a, C, A> where C: BorrowMut AdvertiserGroupPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -35603,6 +35742,7 @@ impl<'a, C, A> AdvertiserGroupDeleteCall<'a, C, A> where C: BorrowMut AdvertiserGroupDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -35869,6 +36009,7 @@ impl<'a, C, A> SiteInsertCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -35878,9 +36019,9 @@ impl<'a, C, A> SiteInsertCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -36116,6 +36257,7 @@ impl<'a, C, A> SiteGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -36125,9 +36267,9 @@ impl<'a, C, A> SiteGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -36540,6 +36682,7 @@ impl<'a, C, A> SiteListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// use dfareporting2d1::Site; @@ -36550,9 +36693,9 @@ impl<'a, C, A> SiteListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -36806,6 +36949,7 @@ impl<'a, C, A> SiteUpdateCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// use dfareporting2d1::Site; @@ -36816,9 +36960,9 @@ impl<'a, C, A> SiteUpdateCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -37084,6 +37228,7 @@ impl<'a, C, A> SitePatchCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -37093,9 +37238,9 @@ impl<'a, C, A> SitePatchCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -37331,6 +37476,7 @@ impl<'a, C, A> FloodlightActivityGetCall<'a, C, A> where C: BorrowMut FloodlightActivityGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -37728,6 +37874,7 @@ impl<'a, C, A> FloodlightActivityListCall<'a, C, A> where C: BorrowMut FloodlightActivityListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -37994,6 +38141,7 @@ impl<'a, C, A> FloodlightActivityInsertCall<'a, C, A> where C: BorrowMut FloodlightActivityInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -38230,6 +38378,7 @@ impl<'a, C, A> FloodlightActivityDeleteCall<'a, C, A> where C: BorrowMut FloodlightActivityDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -38508,6 +38657,7 @@ impl<'a, C, A> FloodlightActivityPatchCall<'a, C, A> where C: BorrowMut FloodlightActivityPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -38755,6 +38905,7 @@ impl<'a, C, A> FloodlightActivityGeneratetagCall<'a, C, A> where C: BorrowMut FloodlightActivityGeneratetagCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -39021,6 +39172,7 @@ impl<'a, C, A> FloodlightActivityUpdateCall<'a, C, A> where C: BorrowMut FloodlightActivityUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -39256,6 +39408,7 @@ impl<'a, C, A> RegionListCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// use dfareporting2d1::CreativeGroup; @@ -39266,9 +39419,9 @@ impl<'a, C, A> RegionListCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -39522,6 +39675,7 @@ impl<'a, C, A> CreativeGroupInsertCall<'a, C, A> where C: BorrowMut CreativeGroupInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -39769,6 +39923,7 @@ impl<'a, C, A> CreativeGroupGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// use dfareporting2d1::CreativeGroup; @@ -39779,9 +39934,9 @@ impl<'a, C, A> CreativeGroupGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -40035,6 +40190,7 @@ impl<'a, C, A> CreativeGroupUpdateCall<'a, C, A> where C: BorrowMut CreativeGroupUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -40372,6 +40528,7 @@ impl<'a, C, A> CreativeGroupListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// use dfareporting2d1::CreativeGroup; @@ -40382,9 +40539,9 @@ impl<'a, C, A> CreativeGroupListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -40650,6 +40807,7 @@ impl<'a, C, A> CreativeGroupPatchCall<'a, C, A> where C: BorrowMut CreativeGroupPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -40969,6 +41127,7 @@ impl<'a, C, A> TargetableRemarketingListListCall<'a, C, A> where C: BorrowMut TargetableRemarketingListListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -41216,6 +41375,7 @@ impl<'a, C, A> TargetableRemarketingListGetCall<'a, C, A> where C: BorrowMut TargetableRemarketingListGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -41494,6 +41654,7 @@ impl<'a, C, A> SubaccountPatchCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// use dfareporting2d1::Subaccount; @@ -41504,9 +41665,9 @@ impl<'a, C, A> SubaccountPatchCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -41760,6 +41921,7 @@ impl<'a, C, A> SubaccountInsertCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -41769,9 +41931,9 @@ impl<'a, C, A> SubaccountInsertCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -42070,6 +42232,7 @@ impl<'a, C, A> SubaccountListCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// use dfareporting2d1::Subaccount; @@ -42080,9 +42243,9 @@ impl<'a, C, A> SubaccountListCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -42336,6 +42499,7 @@ impl<'a, C, A> SubaccountUpdateCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -42345,9 +42509,9 @@ impl<'a, C, A> SubaccountUpdateCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -42583,6 +42747,7 @@ impl<'a, C, A> SubaccountGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -42592,9 +42757,9 @@ impl<'a, C, A> SubaccountGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -42830,6 +42995,7 @@ impl<'a, C, A> MobileCarrierGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -42839,9 +43005,9 @@ impl<'a, C, A> MobileCarrierGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -43065,6 +43231,7 @@ impl<'a, C, A> MobileCarrierListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -43074,9 +43241,9 @@ impl<'a, C, A> MobileCarrierListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -43312,6 +43479,7 @@ impl<'a, C, A> FloodlightConfigurationGetCall<'a, C, A> where C: BorrowMut FloodlightConfigurationGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -43578,6 +43746,7 @@ impl<'a, C, A> FloodlightConfigurationUpdateCall<'a, C, A> where C: BorrowMut FloodlightConfigurationUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -43856,6 +44025,7 @@ impl<'a, C, A> FloodlightConfigurationPatchCall<'a, C, A> where C: BorrowMut FloodlightConfigurationPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -44106,6 +44276,7 @@ impl<'a, C, A> FloodlightConfigurationListCall<'a, C, A> where C: BorrowMut FloodlightConfigurationListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -44341,6 +44512,7 @@ impl<'a, C, A> OperatingSystemListCall<'a, C, A> where C: BorrowMut OperatingSystemListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -44588,6 +44760,7 @@ impl<'a, C, A> OperatingSystemGetCall<'a, C, A> where C: BorrowMut OperatingSystemGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -44888,6 +45061,7 @@ impl<'a, C, A> FileListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -44897,9 +45071,9 @@ impl<'a, C, A> FileListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -45151,6 +45325,7 @@ impl<'a, C, A> FileGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -45160,9 +45335,9 @@ impl<'a, C, A> FileGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -45590,6 +45765,7 @@ impl<'a, C, A> PlacementGroupListCall<'a, C, A> where C: BorrowMut PlacementGroupListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -45856,6 +46032,7 @@ impl<'a, C, A> PlacementGroupUpdateCall<'a, C, A> where C: BorrowMut PlacementGroupUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -46122,6 +46299,7 @@ impl<'a, C, A> PlacementGroupInsertCall<'a, C, A> where C: BorrowMut PlacementGroupInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -46369,6 +46547,7 @@ impl<'a, C, A> PlacementGroupGetCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// use dfareporting2d1::PlacementGroup; @@ -46379,9 +46558,9 @@ impl<'a, C, A> PlacementGroupGetCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -46647,6 +46826,7 @@ impl<'a, C, A> PlacementGroupPatchCall<'a, C, A> where C: BorrowMut PlacementGroupPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -46999,6 +47179,7 @@ impl<'a, C, A> InventoryItemListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -47008,9 +47189,9 @@ impl<'a, C, A> InventoryItemListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -47258,6 +47439,7 @@ impl<'a, C, A> InventoryItemGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -47267,9 +47449,9 @@ impl<'a, C, A> InventoryItemGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -47505,6 +47687,7 @@ impl<'a, C, A> UserRolePermissionGetCall<'a, C, A> where C: BorrowMut UserRolePermissionGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -47755,6 +47938,7 @@ impl<'a, C, A> UserRolePermissionListCall<'a, C, A> where C: BorrowMut UserRolePermissionListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -47990,6 +48174,7 @@ impl<'a, C, A> AccountPermissionGroupListCall<'a, C, A> where C: BorrowMut AccountPermissionGroupListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -48237,6 +48422,7 @@ impl<'a, C, A> AccountPermissionGroupGetCall<'a, C, A> where C: BorrowMut AccountPermissionGroupGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -48547,6 +48733,7 @@ impl<'a, C, A> ContentCategoryListCall<'a, C, A> where C: BorrowMut ContentCategoryListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -48813,6 +49000,7 @@ impl<'a, C, A> ContentCategoryUpdateCall<'a, C, A> where C: BorrowMut ContentCategoryUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -49079,6 +49267,7 @@ impl<'a, C, A> ContentCategoryInsertCall<'a, C, A> where C: BorrowMut ContentCategoryInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -49315,6 +49504,7 @@ impl<'a, C, A> ContentCategoryDeleteCall<'a, C, A> where C: BorrowMut ContentCategoryDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -49562,6 +49752,7 @@ impl<'a, C, A> ContentCategoryGetCall<'a, C, A> where C: BorrowMut ContentCategoryGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -49840,6 +50031,7 @@ impl<'a, C, A> ContentCategoryPatchCall<'a, C, A> where C: BorrowMut ContentCategoryPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -50106,6 +50298,7 @@ impl<'a, C, A> CreativeUpdateCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// use dfareporting2d1::Creative; @@ -50116,9 +50309,9 @@ impl<'a, C, A> CreativeUpdateCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -50372,6 +50565,7 @@ impl<'a, C, A> CreativeInsertCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -50381,9 +50575,9 @@ impl<'a, C, A> CreativeInsertCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -50619,6 +50813,7 @@ impl<'a, C, A> CreativeGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -50628,9 +50823,9 @@ impl<'a, C, A> CreativeGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -51064,6 +51259,7 @@ impl<'a, C, A> CreativeListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// use dfareporting2d1::Creative; @@ -51074,9 +51270,9 @@ impl<'a, C, A> CreativeListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -51342,6 +51538,7 @@ impl<'a, C, A> CreativePatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -51351,9 +51548,9 @@ impl<'a, C, A> CreativePatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -51589,6 +51786,7 @@ impl<'a, C, A> CampaignGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// use dfareporting2d1::Campaign; @@ -51599,9 +51797,9 @@ impl<'a, C, A> CampaignGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -51879,6 +52077,7 @@ impl<'a, C, A> CampaignInsertCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// use dfareporting2d1::Campaign; @@ -51889,9 +52088,9 @@ impl<'a, C, A> CampaignInsertCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -52157,6 +52356,7 @@ impl<'a, C, A> CampaignPatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// use dfareporting2d1::Campaign; @@ -52167,9 +52367,9 @@ impl<'a, C, A> CampaignPatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -52423,6 +52623,7 @@ impl<'a, C, A> CampaignUpdateCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -52432,9 +52633,9 @@ impl<'a, C, A> CampaignUpdateCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -52826,6 +53027,7 @@ impl<'a, C, A> CampaignListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -52835,9 +53037,9 @@ impl<'a, C, A> CampaignListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -53062,6 +53264,7 @@ impl<'a, C, A> EventTagDeleteCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -53071,9 +53274,9 @@ impl<'a, C, A> EventTagDeleteCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -53423,6 +53626,7 @@ impl<'a, C, A> EventTagListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// use dfareporting2d1::EventTag; @@ -53433,9 +53637,9 @@ impl<'a, C, A> EventTagListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -53689,6 +53893,7 @@ impl<'a, C, A> EventTagInsertCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// use dfareporting2d1::EventTag; @@ -53699,9 +53904,9 @@ impl<'a, C, A> EventTagInsertCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -53967,6 +54172,7 @@ impl<'a, C, A> EventTagPatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// use dfareporting2d1::EventTag; @@ -53977,9 +54183,9 @@ impl<'a, C, A> EventTagPatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -54233,6 +54439,7 @@ impl<'a, C, A> EventTagUpdateCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -54242,9 +54449,9 @@ impl<'a, C, A> EventTagUpdateCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -54480,6 +54687,7 @@ impl<'a, C, A> EventTagGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -54489,9 +54697,9 @@ impl<'a, C, A> EventTagGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -54727,6 +54935,7 @@ impl<'a, C, A> RemarketingListGetCall<'a, C, A> where C: BorrowMut RemarketingListGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -54993,6 +55202,7 @@ impl<'a, C, A> RemarketingListUpdateCall<'a, C, A> where C: BorrowMut RemarketingListUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -55324,6 +55534,7 @@ impl<'a, C, A> RemarketingListListCall<'a, C, A> where C: BorrowMut RemarketingListListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -55602,6 +55813,7 @@ impl<'a, C, A> RemarketingListPatchCall<'a, C, A> where C: BorrowMut RemarketingListPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -55868,6 +56080,7 @@ impl<'a, C, A> RemarketingListInsertCall<'a, C, A> where C: BorrowMut RemarketingListInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -56160,6 +56373,7 @@ impl<'a, C, A> CityListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// use dfareporting2d1::PlacementStrategy; @@ -56170,9 +56384,9 @@ impl<'a, C, A> CityListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -56426,6 +56640,7 @@ impl<'a, C, A> PlacementStrategyUpdateCall<'a, C, A> where C: BorrowMut PlacementStrategyUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -56673,6 +56888,7 @@ impl<'a, C, A> PlacementStrategyGetCall<'a, C, A> where C: BorrowMut PlacementStrategyGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -56983,6 +57199,7 @@ impl<'a, C, A> PlacementStrategyListCall<'a, C, A> where C: BorrowMut PlacementStrategyListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -57219,6 +57436,7 @@ impl<'a, C, A> PlacementStrategyDeleteCall<'a, C, A> where C: BorrowMut PlacementStrategyDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -57485,6 +57703,7 @@ impl<'a, C, A> PlacementStrategyInsertCall<'a, C, A> where C: BorrowMut PlacementStrategyInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -57763,6 +57982,7 @@ impl<'a, C, A> PlacementStrategyPatchCall<'a, C, A> where C: BorrowMut PlacementStrategyPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -58088,6 +58308,7 @@ impl<'a, C, A> ProjectListCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -58097,9 +58318,9 @@ impl<'a, C, A> ProjectListCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -58335,6 +58556,7 @@ impl<'a, C, A> ProjectGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// use dfareporting2d1::DirectorySite; @@ -58345,9 +58567,9 @@ impl<'a, C, A> ProjectGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -58601,6 +58823,7 @@ impl<'a, C, A> DirectorySiteInsertCall<'a, C, A> where C: BorrowMut DirectorySiteInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -58995,6 +59218,7 @@ impl<'a, C, A> DirectorySiteListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -59004,9 +59228,9 @@ impl<'a, C, A> DirectorySiteListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -59242,6 +59466,7 @@ impl<'a, C, A> DirectorySiteGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// use dfareporting2d1::Size; @@ -59252,9 +59477,9 @@ impl<'a, C, A> DirectorySiteGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -59508,6 +59733,7 @@ impl<'a, C, A> SizeInsertCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -59517,9 +59743,9 @@ impl<'a, C, A> SizeInsertCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -59794,6 +60020,7 @@ impl<'a, C, A> SizeListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -59803,9 +60030,9 @@ impl<'a, C, A> SizeListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -60041,6 +60268,7 @@ impl<'a, C, A> SizeGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -60050,9 +60278,9 @@ impl<'a, C, A> SizeGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -60288,6 +60516,7 @@ impl<'a, C, A> AccountActiveAdSummaryGetCall<'a, C, A> where C: BorrowMut AccountActiveAdSummaryGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -60554,6 +60783,7 @@ impl<'a, C, A> AccountUserProfileUpdateCall<'a, C, A> where C: BorrowMut AccountUserProfileUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -60900,6 +61130,7 @@ impl<'a, C, A> AccountUserProfileListCall<'a, C, A> where C: BorrowMut AccountUserProfileListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -61166,6 +61397,7 @@ impl<'a, C, A> AccountUserProfileInsertCall<'a, C, A> where C: BorrowMut AccountUserProfileInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -61444,6 +61676,7 @@ impl<'a, C, A> AccountUserProfilePatchCall<'a, C, A> where C: BorrowMut AccountUserProfilePatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -61691,6 +61924,7 @@ impl<'a, C, A> AccountUserProfileGetCall<'a, C, A> where C: BorrowMut AccountUserProfileGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -61926,6 +62160,7 @@ impl<'a, C, A> CountryListCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -61935,9 +62170,9 @@ impl<'a, C, A> CountryListCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -62173,6 +62408,7 @@ impl<'a, C, A> CountryGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -62182,9 +62418,9 @@ impl<'a, C, A> CountryGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -62432,6 +62668,7 @@ impl<'a, C, A> OrderDocumentGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -62441,9 +62678,9 @@ impl<'a, C, A> OrderDocumentGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -62796,6 +63033,7 @@ impl<'a, C, A> OrderDocumentListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -62805,9 +63043,9 @@ impl<'a, C, A> OrderDocumentListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -63043,6 +63281,7 @@ impl<'a, C, A> PostalCodeGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -63052,9 +63291,9 @@ impl<'a, C, A> PostalCodeGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -63278,6 +63517,7 @@ impl<'a, C, A> PostalCodeListCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -63287,9 +63527,9 @@ impl<'a, C, A> PostalCodeListCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -63513,6 +63753,7 @@ impl<'a, C, A> BrowserListCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -63522,9 +63763,9 @@ impl<'a, C, A> BrowserListCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -63760,6 +64001,7 @@ impl<'a, C, A> AccountGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -63769,9 +64011,9 @@ impl<'a, C, A> AccountGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -64082,6 +64324,7 @@ impl<'a, C, A> AccountListCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// use dfareporting2d1::Account; @@ -64092,9 +64335,9 @@ impl<'a, C, A> AccountListCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -64348,6 +64591,7 @@ impl<'a, C, A> AccountUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// use dfareporting2d1::Account; @@ -64358,9 +64602,9 @@ impl<'a, C, A> AccountUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -64626,6 +64870,7 @@ impl<'a, C, A> AccountPatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// use dfareporting2d1::Placement; @@ -64636,9 +64881,9 @@ impl<'a, C, A> AccountPatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -64904,6 +65149,7 @@ impl<'a, C, A> PlacementPatchCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -64913,9 +65159,9 @@ impl<'a, C, A> PlacementPatchCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -65388,6 +65634,7 @@ impl<'a, C, A> PlacementListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// use dfareporting2d1::Placement; @@ -65398,9 +65645,9 @@ impl<'a, C, A> PlacementListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -65654,6 +65901,7 @@ impl<'a, C, A> PlacementInsertCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// use dfareporting2d1::Placement; @@ -65664,9 +65912,9 @@ impl<'a, C, A> PlacementInsertCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -65920,6 +66168,7 @@ impl<'a, C, A> PlacementUpdateCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d1 as dfareporting2d1; /// # #[test] fn egal() { @@ -65929,9 +66178,9 @@ impl<'a, C, A> PlacementUpdateCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -66197,6 +66446,7 @@ impl<'a, C, A> PlacementGeneratetagCall<'a, C, A> where C: BorrowMut PlacementGeneratetagCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/dfareporting2d2-cli/Cargo.toml b/gen/dfareporting2d2-cli/Cargo.toml index 9242586d13..e2ae34f734 100644 --- a/gen/dfareporting2d2-cli/Cargo.toml +++ b/gen/dfareporting2d2-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["dfareporting", "google", "cli"] [[bin]] name = "dfareporting2d2" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/dfareporting2d2/Cargo.toml b/gen/dfareporting2d2/Cargo.toml index 3602a44b14..b102068ea6 100644 --- a/gen/dfareporting2d2/Cargo.toml +++ b/gen/dfareporting2d2/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["dfareporting", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/dfareporting2d2/README.md b/gen/dfareporting2d2/README.md index ff1d3eb78c..b057031490 100644 --- a/gen/dfareporting2d2/README.md +++ b/gen/dfareporting2d2/README.md @@ -196,6 +196,7 @@ google-dfareporting2d2 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_dfareporting2d2 as dfareporting2d2; use dfareporting2d2::{Result, Error}; @@ -212,9 +213,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Dfareporting::new(hyper::Client::new(), auth); +let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! diff --git a/gen/dfareporting2d2/src/lib.rs b/gen/dfareporting2d2/src/lib.rs index 5d0b739101..61a375bc65 100644 --- a/gen/dfareporting2d2/src/lib.rs +++ b/gen/dfareporting2d2/src/lib.rs @@ -196,6 +196,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_dfareporting2d2 as dfareporting2d2; //! use dfareporting2d2::{Result, Error}; @@ -213,9 +214,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Dfareporting::new(hyper::Client::new(), auth); +//! let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! @@ -383,6 +384,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// use dfareporting2d2::{Result, Error}; @@ -400,9 +402,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6960,6 +6962,7 @@ impl ResponseResult for UserRolesListResponse {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// @@ -6970,9 +6973,9 @@ impl ResponseResult for UserRolesListResponse {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -7037,6 +7040,7 @@ impl<'a, C, A> UserRolePermissionGroupMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// @@ -7047,9 +7051,9 @@ impl<'a, C, A> UserRolePermissionGroupMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -7114,6 +7118,7 @@ impl<'a, C, A> PlatformTypeMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// @@ -7124,9 +7129,9 @@ impl<'a, C, A> PlatformTypeMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -7287,6 +7292,7 @@ impl<'a, C, A> CreativeFieldValueMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// @@ -7297,9 +7303,9 @@ impl<'a, C, A> CreativeFieldValueMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -7449,6 +7455,7 @@ impl<'a, C, A> CreativeFieldMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// @@ -7459,9 +7466,9 @@ impl<'a, C, A> CreativeFieldMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -7612,6 +7619,7 @@ impl<'a, C, A> UserRoleMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// @@ -7622,9 +7630,9 @@ impl<'a, C, A> UserRoleMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -7689,6 +7697,7 @@ impl<'a, C, A> OperatingSystemVersionMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// @@ -7699,9 +7708,9 @@ impl<'a, C, A> OperatingSystemVersionMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -7856,6 +7865,7 @@ impl<'a, C, A> LandingPageMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// @@ -7866,9 +7876,9 @@ impl<'a, C, A> LandingPageMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `insert(...)` /// // to build up your call. @@ -7918,6 +7928,7 @@ impl<'a, C, A> CreativeAssetMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// @@ -7928,9 +7939,9 @@ impl<'a, C, A> CreativeAssetMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `insert(...)` and `list(...)` /// // to build up your call. @@ -8002,6 +8013,7 @@ impl<'a, C, A> CampaignCreativeAssociationMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// @@ -8012,9 +8024,9 @@ impl<'a, C, A> CampaignCreativeAssociationMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -8089,6 +8101,7 @@ impl<'a, C, A> ChangeLogMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// @@ -8099,9 +8112,9 @@ impl<'a, C, A> ChangeLogMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -8189,6 +8202,7 @@ impl<'a, C, A> RemarketingListShareMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// @@ -8199,9 +8213,9 @@ impl<'a, C, A> RemarketingListShareMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `compatible_fields_query(...)`, `delete(...)`, `files_get(...)`, `files_list(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)`, `run(...)` and `update(...)` /// // to build up your call. @@ -8434,6 +8448,7 @@ impl<'a, C, A> ReportMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// @@ -8444,9 +8459,9 @@ impl<'a, C, A> ReportMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -8582,6 +8597,7 @@ impl<'a, C, A> AdvertiserMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// @@ -8592,9 +8608,9 @@ impl<'a, C, A> AdvertiserMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `query(...)` /// // to build up your call. @@ -8644,6 +8660,7 @@ impl<'a, C, A> DimensionValueMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// @@ -8654,9 +8671,9 @@ impl<'a, C, A> DimensionValueMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -8808,6 +8825,7 @@ impl<'a, C, A> FloodlightActivityGroupMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// @@ -8818,9 +8836,9 @@ impl<'a, C, A> FloodlightActivityGroupMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -8866,6 +8884,7 @@ impl<'a, C, A> MetroMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// @@ -8876,9 +8895,9 @@ impl<'a, C, A> MetroMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -8954,6 +8973,7 @@ impl<'a, C, A> OrderMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// @@ -8964,9 +8984,9 @@ impl<'a, C, A> OrderMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -9038,6 +9058,7 @@ impl<'a, C, A> DirectorySiteContactMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// @@ -9048,9 +9069,9 @@ impl<'a, C, A> DirectorySiteContactMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -9108,6 +9129,7 @@ impl<'a, C, A> UserProfileMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// @@ -9118,9 +9140,9 @@ impl<'a, C, A> UserProfileMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -9268,6 +9290,7 @@ impl<'a, C, A> AdMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// @@ -9278,9 +9301,9 @@ impl<'a, C, A> AdMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -9345,6 +9368,7 @@ impl<'a, C, A> AccountPermissionMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// @@ -9355,9 +9379,9 @@ impl<'a, C, A> AccountPermissionMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -9422,6 +9446,7 @@ impl<'a, C, A> ConnectionTypeMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// @@ -9432,9 +9457,9 @@ impl<'a, C, A> ConnectionTypeMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -9583,6 +9608,7 @@ impl<'a, C, A> AdvertiserGroupMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// @@ -9593,9 +9619,9 @@ impl<'a, C, A> AdvertiserGroupMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -9734,6 +9760,7 @@ impl<'a, C, A> SiteMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// @@ -9744,9 +9771,9 @@ impl<'a, C, A> SiteMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `generatetag(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -9920,6 +9947,7 @@ impl<'a, C, A> FloodlightActivityMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// @@ -9930,9 +9958,9 @@ impl<'a, C, A> FloodlightActivityMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -9978,6 +10006,7 @@ impl<'a, C, A> RegionMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// @@ -9988,9 +10017,9 @@ impl<'a, C, A> RegionMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -10122,6 +10151,7 @@ impl<'a, C, A> CreativeGroupMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// @@ -10132,9 +10162,9 @@ impl<'a, C, A> CreativeGroupMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -10207,6 +10237,7 @@ impl<'a, C, A> TargetableRemarketingListMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// @@ -10217,9 +10248,9 @@ impl<'a, C, A> TargetableRemarketingListMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -10349,6 +10380,7 @@ impl<'a, C, A> SubaccountMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// @@ -10359,9 +10391,9 @@ impl<'a, C, A> SubaccountMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -10426,6 +10458,7 @@ impl<'a, C, A> MobileCarrierMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// @@ -10436,9 +10469,9 @@ impl<'a, C, A> MobileCarrierMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -10544,6 +10577,7 @@ impl<'a, C, A> FloodlightConfigurationMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// @@ -10554,9 +10588,9 @@ impl<'a, C, A> FloodlightConfigurationMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -10621,6 +10655,7 @@ impl<'a, C, A> OperatingSystemMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// @@ -10631,9 +10666,9 @@ impl<'a, C, A> OperatingSystemMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -10703,6 +10738,7 @@ impl<'a, C, A> FileMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// @@ -10713,9 +10749,9 @@ impl<'a, C, A> FileMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -10858,6 +10894,7 @@ impl<'a, C, A> PlacementGroupMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// @@ -10868,9 +10905,9 @@ impl<'a, C, A> PlacementGroupMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -10947,6 +10984,7 @@ impl<'a, C, A> InventoryItemMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// @@ -10957,9 +10995,9 @@ impl<'a, C, A> InventoryItemMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11025,6 +11063,7 @@ impl<'a, C, A> UserRolePermissionMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// @@ -11035,9 +11074,9 @@ impl<'a, C, A> UserRolePermissionMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11102,6 +11141,7 @@ impl<'a, C, A> AccountPermissionGroupMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// @@ -11112,9 +11152,9 @@ impl<'a, C, A> AccountPermissionGroupMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -11263,6 +11303,7 @@ impl<'a, C, A> ContentCategoryMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// @@ -11273,9 +11314,9 @@ impl<'a, C, A> ContentCategoryMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -11415,6 +11456,7 @@ impl<'a, C, A> CreativeMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// @@ -11425,9 +11467,9 @@ impl<'a, C, A> CreativeMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -11568,6 +11610,7 @@ impl<'a, C, A> CampaignMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// @@ -11578,9 +11621,9 @@ impl<'a, C, A> CampaignMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -11733,6 +11776,7 @@ impl<'a, C, A> EventTagMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// @@ -11743,9 +11787,9 @@ impl<'a, C, A> EventTagMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -11878,6 +11922,7 @@ impl<'a, C, A> RemarketingListMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// @@ -11888,9 +11933,9 @@ impl<'a, C, A> RemarketingListMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -11940,6 +11985,7 @@ impl<'a, C, A> CityMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// @@ -11950,9 +11996,9 @@ impl<'a, C, A> CityMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -12101,6 +12147,7 @@ impl<'a, C, A> PlacementStrategyMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// @@ -12111,9 +12158,9 @@ impl<'a, C, A> PlacementStrategyMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -12185,6 +12232,7 @@ impl<'a, C, A> ProjectMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// @@ -12195,9 +12243,9 @@ impl<'a, C, A> ProjectMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -12294,6 +12342,7 @@ impl<'a, C, A> DirectorySiteMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// @@ -12304,9 +12353,9 @@ impl<'a, C, A> DirectorySiteMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -12394,6 +12443,7 @@ impl<'a, C, A> SizeMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// @@ -12404,9 +12454,9 @@ impl<'a, C, A> SizeMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -12454,6 +12504,7 @@ impl<'a, C, A> AccountActiveAdSummaryMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// @@ -12464,9 +12515,9 @@ impl<'a, C, A> AccountActiveAdSummaryMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -12599,6 +12650,7 @@ impl<'a, C, A> AccountUserProfileMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// @@ -12609,9 +12661,9 @@ impl<'a, C, A> AccountUserProfileMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -12676,6 +12728,7 @@ impl<'a, C, A> CountryMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// @@ -12686,9 +12739,9 @@ impl<'a, C, A> CountryMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -12766,6 +12819,7 @@ impl<'a, C, A> OrderDocumentMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// @@ -12776,9 +12830,9 @@ impl<'a, C, A> OrderDocumentMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -12843,6 +12897,7 @@ impl<'a, C, A> PostalCodeMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// @@ -12853,9 +12908,9 @@ impl<'a, C, A> PostalCodeMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -12901,6 +12956,7 @@ impl<'a, C, A> BrowserMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// @@ -12911,9 +12967,9 @@ impl<'a, C, A> BrowserMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -13025,6 +13081,7 @@ impl<'a, C, A> AccountMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d2 as dfareporting2d2; /// @@ -13035,9 +13092,9 @@ impl<'a, C, A> AccountMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `generatetags(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -13211,6 +13268,7 @@ impl<'a, C, A> PlacementMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -13220,9 +13278,9 @@ impl<'a, C, A> PlacementMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13458,6 +13516,7 @@ impl<'a, C, A> UserRolePermissionGroupGetCall<'a, C, A> where C: BorrowMut UserRolePermissionGroupGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13693,6 +13752,7 @@ impl<'a, C, A> UserRolePermissionGroupListCall<'a, C, A> where C: BorrowMut UserRolePermissionGroupListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13940,6 +14000,7 @@ impl<'a, C, A> PlatformTypeGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -13949,9 +14010,9 @@ impl<'a, C, A> PlatformTypeGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14175,6 +14236,7 @@ impl<'a, C, A> PlatformTypeListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// use dfareporting2d2::CreativeFieldValue; @@ -14185,9 +14247,9 @@ impl<'a, C, A> PlatformTypeListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14465,6 +14527,7 @@ impl<'a, C, A> CreativeFieldValuePatchCall<'a, C, A> where C: BorrowMut CreativeFieldValuePatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14724,6 +14787,7 @@ impl<'a, C, A> CreativeFieldValueGetCall<'a, C, A> where C: BorrowMut CreativeFieldValueGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14972,6 +15036,7 @@ impl<'a, C, A> CreativeFieldValueDeleteCall<'a, C, A> where C: BorrowMut CreativeFieldValueDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15250,6 +15315,7 @@ impl<'a, C, A> CreativeFieldValueInsertCall<'a, C, A> where C: BorrowMut CreativeFieldValueInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15528,6 +15594,7 @@ impl<'a, C, A> CreativeFieldValueUpdateCall<'a, C, A> where C: BorrowMut CreativeFieldValueUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15850,6 +15917,7 @@ impl<'a, C, A> CreativeFieldValueListCall<'a, C, A> where C: BorrowMut CreativeFieldValueListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16116,6 +16184,7 @@ impl<'a, C, A> CreativeFieldUpdateCall<'a, C, A> where C: BorrowMut CreativeFieldUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16441,6 +16510,7 @@ impl<'a, C, A> CreativeFieldListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -16450,9 +16520,9 @@ impl<'a, C, A> CreativeFieldListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16677,6 +16747,7 @@ impl<'a, C, A> CreativeFieldDeleteCall<'a, C, A> where C: BorrowMut CreativeFieldDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16924,6 +16995,7 @@ impl<'a, C, A> CreativeFieldGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// use dfareporting2d2::CreativeField; @@ -16934,9 +17006,9 @@ impl<'a, C, A> CreativeFieldGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17190,6 +17262,7 @@ impl<'a, C, A> CreativeFieldInsertCall<'a, C, A> where C: BorrowMut CreativeFieldInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17468,6 +17541,7 @@ impl<'a, C, A> CreativeFieldPatchCall<'a, C, A> where C: BorrowMut CreativeFieldPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17734,6 +17808,7 @@ impl<'a, C, A> UserRoleInsertCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -17743,9 +17818,9 @@ impl<'a, C, A> UserRoleInsertCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17981,6 +18056,7 @@ impl<'a, C, A> UserRoleGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// use dfareporting2d2::UserRole; @@ -17991,9 +18067,9 @@ impl<'a, C, A> UserRoleGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18247,6 +18323,7 @@ impl<'a, C, A> UserRoleUpdateCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -18256,9 +18333,9 @@ impl<'a, C, A> UserRoleUpdateCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18483,6 +18560,7 @@ impl<'a, C, A> UserRoleDeleteCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// use dfareporting2d2::UserRole; @@ -18493,9 +18571,9 @@ impl<'a, C, A> UserRoleDeleteCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18761,6 +18839,7 @@ impl<'a, C, A> UserRolePatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -18770,9 +18849,9 @@ impl<'a, C, A> UserRolePatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19095,6 +19174,7 @@ impl<'a, C, A> UserRoleListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -19104,9 +19184,9 @@ impl<'a, C, A> UserRoleListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19342,6 +19422,7 @@ impl<'a, C, A> OperatingSystemVersionGetCall<'a, C, A> where C: BorrowMut OperatingSystemVersionGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19577,6 +19658,7 @@ impl<'a, C, A> OperatingSystemVersionListCall<'a, C, A> where C: BorrowMut OperatingSystemVersionListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19836,6 +19918,7 @@ impl<'a, C, A> LandingPageGetCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// use dfareporting2d2::LandingPage; @@ -19846,9 +19929,9 @@ impl<'a, C, A> LandingPageGetCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20114,6 +20197,7 @@ impl<'a, C, A> LandingPageUpdateCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -20123,9 +20207,9 @@ impl<'a, C, A> LandingPageUpdateCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20361,6 +20445,7 @@ impl<'a, C, A> LandingPageListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// use dfareporting2d2::LandingPage; @@ -20371,9 +20456,9 @@ impl<'a, C, A> LandingPageListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20639,6 +20724,7 @@ impl<'a, C, A> LandingPageInsertCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// use dfareporting2d2::LandingPage; @@ -20649,9 +20735,9 @@ impl<'a, C, A> LandingPageInsertCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20929,6 +21015,7 @@ impl<'a, C, A> LandingPagePatchCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -20938,9 +21025,9 @@ impl<'a, C, A> LandingPagePatchCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21177,6 +21264,7 @@ impl<'a, C, A> LandingPageDeleteCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// use dfareporting2d2::CreativeAssetMetadata; @@ -21188,9 +21276,9 @@ impl<'a, C, A> LandingPageDeleteCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21569,6 +21657,7 @@ impl<'a, C, A> CreativeAssetInsertCall<'a, C, A> where C: BorrowMut CreativeAssetInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21847,6 +21936,7 @@ impl<'a, C, A> CampaignCreativeAssociationInsertCall<'a, C, A> where C: BorrowMu /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -21856,9 +21946,9 @@ impl<'a, C, A> CampaignCreativeAssociationInsertCall<'a, C, A> where C: BorrowMu /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22130,6 +22220,7 @@ impl<'a, C, A> CampaignCreativeAssociationListCall<'a, C, A> where C: BorrowMut< /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -22139,9 +22230,9 @@ impl<'a, C, A> CampaignCreativeAssociationListCall<'a, C, A> where C: BorrowMut< /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22494,6 +22585,7 @@ impl<'a, C, A> ChangeLogListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -22503,9 +22595,9 @@ impl<'a, C, A> ChangeLogListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22741,6 +22833,7 @@ impl<'a, C, A> ChangeLogGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -22750,9 +22843,9 @@ impl<'a, C, A> ChangeLogGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22988,6 +23081,7 @@ impl<'a, C, A> RemarketingListShareGetCall<'a, C, A> where C: BorrowMut RemarketingListShareGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23266,6 +23360,7 @@ impl<'a, C, A> RemarketingListSharePatchCall<'a, C, A> where C: BorrowMut RemarketingListSharePatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23532,6 +23627,7 @@ impl<'a, C, A> RemarketingListShareUpdateCall<'a, C, A> where C: BorrowMut RemarketingListShareUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23791,6 +23887,7 @@ impl<'a, C, A> ReportRunCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// use dfareporting2d2::Report; @@ -23801,9 +23898,9 @@ impl<'a, C, A> ReportRunCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24069,6 +24166,7 @@ impl<'a, C, A> ReportPatchCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -24078,9 +24176,9 @@ impl<'a, C, A> ReportPatchCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -24364,6 +24462,7 @@ impl<'a, C, A> ReportFileListCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// use dfareporting2d2::Report; @@ -24374,9 +24473,9 @@ impl<'a, C, A> ReportFileListCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24630,6 +24729,7 @@ impl<'a, C, A> ReportInsertCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// use dfareporting2d2::Report; @@ -24640,9 +24740,9 @@ impl<'a, C, A> ReportInsertCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24908,6 +25008,7 @@ impl<'a, C, A> ReportUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// use dfareporting2d2::Report; @@ -24918,9 +25019,9 @@ impl<'a, C, A> ReportUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -25174,6 +25275,7 @@ impl<'a, C, A> ReportCompatibleFieldQueryCall<'a, C, A> where C: BorrowMut ReportCompatibleFieldQueryCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25426,6 +25528,7 @@ impl<'a, C, A> ReportGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -25435,9 +25538,9 @@ impl<'a, C, A> ReportGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25701,6 +25804,7 @@ impl<'a, C, A> ReportFileGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -25710,9 +25814,9 @@ impl<'a, C, A> ReportFileGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25937,6 +26041,7 @@ impl<'a, C, A> ReportDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -25946,9 +26051,9 @@ impl<'a, C, A> ReportDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -26232,6 +26337,7 @@ impl<'a, C, A> ReportListCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// use dfareporting2d2::Advertiser; @@ -26242,9 +26348,9 @@ impl<'a, C, A> ReportListCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -26498,6 +26604,7 @@ impl<'a, C, A> AdvertiserInsertCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// use dfareporting2d2::Advertiser; @@ -26508,9 +26615,9 @@ impl<'a, C, A> AdvertiserInsertCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -26776,6 +26883,7 @@ impl<'a, C, A> AdvertiserPatchCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -26785,9 +26893,9 @@ impl<'a, C, A> AdvertiserPatchCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -27164,6 +27272,7 @@ impl<'a, C, A> AdvertiserListCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// use dfareporting2d2::Advertiser; @@ -27174,9 +27283,9 @@ impl<'a, C, A> AdvertiserListCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -27430,6 +27539,7 @@ impl<'a, C, A> AdvertiserUpdateCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -27439,9 +27549,9 @@ impl<'a, C, A> AdvertiserUpdateCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -27677,6 +27787,7 @@ impl<'a, C, A> AdvertiserGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// use dfareporting2d2::DimensionValueRequest; @@ -27687,9 +27798,9 @@ impl<'a, C, A> AdvertiserGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -27967,6 +28078,7 @@ impl<'a, C, A> DimensionValueQueryCall<'a, C, A> where C: BorrowMut DimensionValueQueryCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -28203,6 +28315,7 @@ impl<'a, C, A> FloodlightActivityGroupDeleteCall<'a, C, A> where C: BorrowMut FloodlightActivityGroupDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -28450,6 +28563,7 @@ impl<'a, C, A> FloodlightActivityGroupGetCall<'a, C, A> where C: BorrowMut FloodlightActivityGroupGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -28728,6 +28842,7 @@ impl<'a, C, A> FloodlightActivityGroupPatchCall<'a, C, A> where C: BorrowMut FloodlightActivityGroupPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -29074,6 +29189,7 @@ impl<'a, C, A> FloodlightActivityGroupListCall<'a, C, A> where C: BorrowMut FloodlightActivityGroupListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -29340,6 +29456,7 @@ impl<'a, C, A> FloodlightActivityGroupInsertCall<'a, C, A> where C: BorrowMut FloodlightActivityGroupInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -29606,6 +29723,7 @@ impl<'a, C, A> FloodlightActivityGroupUpdateCall<'a, C, A> where C: BorrowMut FloodlightActivityGroupUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -29841,6 +29959,7 @@ impl<'a, C, A> MetroListCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -29850,9 +29969,9 @@ impl<'a, C, A> MetroListCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30178,6 +30297,7 @@ impl<'a, C, A> OrderListCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -30187,9 +30307,9 @@ impl<'a, C, A> OrderListCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30437,6 +30557,7 @@ impl<'a, C, A> OrderGetCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -30446,9 +30567,9 @@ impl<'a, C, A> OrderGetCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30684,6 +30805,7 @@ impl<'a, C, A> DirectorySiteContactGetCall<'a, C, A> where C: BorrowMut DirectorySiteContactGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -31009,6 +31131,7 @@ impl<'a, C, A> DirectorySiteContactListCall<'a, C, A> where C: BorrowMut DirectorySiteContactListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -31211,6 +31334,7 @@ impl<'a, C, A> UserProfileListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -31220,9 +31344,9 @@ impl<'a, C, A> UserProfileListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -31446,6 +31570,7 @@ impl<'a, C, A> UserProfileGetCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// use dfareporting2d2::Ad; @@ -31456,9 +31581,9 @@ impl<'a, C, A> UserProfileGetCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -31724,6 +31849,7 @@ impl<'a, C, A> AdPatchCall<'a, C, A> where C: BorrowMut, A: oauth /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// use dfareporting2d2::Ad; @@ -31734,9 +31860,9 @@ impl<'a, C, A> AdPatchCall<'a, C, A> where C: BorrowMut, A: oauth /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -31990,6 +32116,7 @@ impl<'a, C, A> AdInsertCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -31999,9 +32126,9 @@ impl<'a, C, A> AdInsertCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -32543,6 +32670,7 @@ impl<'a, C, A> AdListCall<'a, C, A> where C: BorrowMut, A: oauth2 /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -32552,9 +32680,9 @@ impl<'a, C, A> AdListCall<'a, C, A> where C: BorrowMut, A: oauth2 /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -32790,6 +32918,7 @@ impl<'a, C, A> AdGetCall<'a, C, A> where C: BorrowMut, A: oauth2: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// use dfareporting2d2::Ad; @@ -32800,9 +32929,9 @@ impl<'a, C, A> AdGetCall<'a, C, A> where C: BorrowMut, A: oauth2: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -33056,6 +33185,7 @@ impl<'a, C, A> AdUpdateCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -33065,9 +33195,9 @@ impl<'a, C, A> AdUpdateCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -33303,6 +33433,7 @@ impl<'a, C, A> AccountPermissionGetCall<'a, C, A> where C: BorrowMut AccountPermissionGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -33538,6 +33669,7 @@ impl<'a, C, A> AccountPermissionListCall<'a, C, A> where C: BorrowMut AccountPermissionListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -33773,6 +33905,7 @@ impl<'a, C, A> ConnectionTypeListCall<'a, C, A> where C: BorrowMut ConnectionTypeListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -34020,6 +34153,7 @@ impl<'a, C, A> ConnectionTypeGetCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -34029,9 +34163,9 @@ impl<'a, C, A> ConnectionTypeGetCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -34267,6 +34401,7 @@ impl<'a, C, A> AdvertiserGroupGetCall<'a, C, A> where C: BorrowMut AdvertiserGroupGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -34577,6 +34712,7 @@ impl<'a, C, A> AdvertiserGroupListCall<'a, C, A> where C: BorrowMut AdvertiserGroupListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -34843,6 +34979,7 @@ impl<'a, C, A> AdvertiserGroupInsertCall<'a, C, A> where C: BorrowMut AdvertiserGroupInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -35109,6 +35246,7 @@ impl<'a, C, A> AdvertiserGroupUpdateCall<'a, C, A> where C: BorrowMut AdvertiserGroupUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -35387,6 +35525,7 @@ impl<'a, C, A> AdvertiserGroupPatchCall<'a, C, A> where C: BorrowMut AdvertiserGroupPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -35623,6 +35762,7 @@ impl<'a, C, A> AdvertiserGroupDeleteCall<'a, C, A> where C: BorrowMut AdvertiserGroupDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -35889,6 +36029,7 @@ impl<'a, C, A> SiteInsertCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -35898,9 +36039,9 @@ impl<'a, C, A> SiteInsertCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -36136,6 +36277,7 @@ impl<'a, C, A> SiteGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -36145,9 +36287,9 @@ impl<'a, C, A> SiteGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -36560,6 +36702,7 @@ impl<'a, C, A> SiteListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// use dfareporting2d2::Site; @@ -36570,9 +36713,9 @@ impl<'a, C, A> SiteListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -36826,6 +36969,7 @@ impl<'a, C, A> SiteUpdateCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// use dfareporting2d2::Site; @@ -36836,9 +36980,9 @@ impl<'a, C, A> SiteUpdateCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -37104,6 +37248,7 @@ impl<'a, C, A> SitePatchCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -37113,9 +37258,9 @@ impl<'a, C, A> SitePatchCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -37351,6 +37496,7 @@ impl<'a, C, A> FloodlightActivityGetCall<'a, C, A> where C: BorrowMut FloodlightActivityGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -37748,6 +37894,7 @@ impl<'a, C, A> FloodlightActivityListCall<'a, C, A> where C: BorrowMut FloodlightActivityListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -38014,6 +38161,7 @@ impl<'a, C, A> FloodlightActivityInsertCall<'a, C, A> where C: BorrowMut FloodlightActivityInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -38250,6 +38398,7 @@ impl<'a, C, A> FloodlightActivityDeleteCall<'a, C, A> where C: BorrowMut FloodlightActivityDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -38528,6 +38677,7 @@ impl<'a, C, A> FloodlightActivityPatchCall<'a, C, A> where C: BorrowMut FloodlightActivityPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -38775,6 +38925,7 @@ impl<'a, C, A> FloodlightActivityGeneratetagCall<'a, C, A> where C: BorrowMut FloodlightActivityGeneratetagCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -39041,6 +39192,7 @@ impl<'a, C, A> FloodlightActivityUpdateCall<'a, C, A> where C: BorrowMut FloodlightActivityUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -39276,6 +39428,7 @@ impl<'a, C, A> RegionListCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// use dfareporting2d2::CreativeGroup; @@ -39286,9 +39439,9 @@ impl<'a, C, A> RegionListCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -39542,6 +39695,7 @@ impl<'a, C, A> CreativeGroupInsertCall<'a, C, A> where C: BorrowMut CreativeGroupInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -39789,6 +39943,7 @@ impl<'a, C, A> CreativeGroupGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// use dfareporting2d2::CreativeGroup; @@ -39799,9 +39954,9 @@ impl<'a, C, A> CreativeGroupGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -40055,6 +40210,7 @@ impl<'a, C, A> CreativeGroupUpdateCall<'a, C, A> where C: BorrowMut CreativeGroupUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -40392,6 +40548,7 @@ impl<'a, C, A> CreativeGroupListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// use dfareporting2d2::CreativeGroup; @@ -40402,9 +40559,9 @@ impl<'a, C, A> CreativeGroupListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -40670,6 +40827,7 @@ impl<'a, C, A> CreativeGroupPatchCall<'a, C, A> where C: BorrowMut CreativeGroupPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -40989,6 +41147,7 @@ impl<'a, C, A> TargetableRemarketingListListCall<'a, C, A> where C: BorrowMut TargetableRemarketingListListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -41236,6 +41395,7 @@ impl<'a, C, A> TargetableRemarketingListGetCall<'a, C, A> where C: BorrowMut TargetableRemarketingListGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -41514,6 +41674,7 @@ impl<'a, C, A> SubaccountPatchCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// use dfareporting2d2::Subaccount; @@ -41524,9 +41685,9 @@ impl<'a, C, A> SubaccountPatchCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -41780,6 +41941,7 @@ impl<'a, C, A> SubaccountInsertCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -41789,9 +41951,9 @@ impl<'a, C, A> SubaccountInsertCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -42090,6 +42252,7 @@ impl<'a, C, A> SubaccountListCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// use dfareporting2d2::Subaccount; @@ -42100,9 +42263,9 @@ impl<'a, C, A> SubaccountListCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -42356,6 +42519,7 @@ impl<'a, C, A> SubaccountUpdateCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -42365,9 +42529,9 @@ impl<'a, C, A> SubaccountUpdateCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -42603,6 +42767,7 @@ impl<'a, C, A> SubaccountGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -42612,9 +42777,9 @@ impl<'a, C, A> SubaccountGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -42850,6 +43015,7 @@ impl<'a, C, A> MobileCarrierGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -42859,9 +43025,9 @@ impl<'a, C, A> MobileCarrierGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -43085,6 +43251,7 @@ impl<'a, C, A> MobileCarrierListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -43094,9 +43261,9 @@ impl<'a, C, A> MobileCarrierListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -43332,6 +43499,7 @@ impl<'a, C, A> FloodlightConfigurationGetCall<'a, C, A> where C: BorrowMut FloodlightConfigurationGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -43598,6 +43766,7 @@ impl<'a, C, A> FloodlightConfigurationUpdateCall<'a, C, A> where C: BorrowMut FloodlightConfigurationUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -43876,6 +44045,7 @@ impl<'a, C, A> FloodlightConfigurationPatchCall<'a, C, A> where C: BorrowMut FloodlightConfigurationPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -44126,6 +44296,7 @@ impl<'a, C, A> FloodlightConfigurationListCall<'a, C, A> where C: BorrowMut FloodlightConfigurationListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -44361,6 +44532,7 @@ impl<'a, C, A> OperatingSystemListCall<'a, C, A> where C: BorrowMut OperatingSystemListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -44608,6 +44780,7 @@ impl<'a, C, A> OperatingSystemGetCall<'a, C, A> where C: BorrowMut OperatingSystemGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -44908,6 +45081,7 @@ impl<'a, C, A> FileListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -44917,9 +45091,9 @@ impl<'a, C, A> FileListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -45171,6 +45345,7 @@ impl<'a, C, A> FileGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -45180,9 +45355,9 @@ impl<'a, C, A> FileGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -45658,6 +45833,7 @@ impl<'a, C, A> PlacementGroupListCall<'a, C, A> where C: BorrowMut PlacementGroupListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -45924,6 +46100,7 @@ impl<'a, C, A> PlacementGroupUpdateCall<'a, C, A> where C: BorrowMut PlacementGroupUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -46190,6 +46367,7 @@ impl<'a, C, A> PlacementGroupInsertCall<'a, C, A> where C: BorrowMut PlacementGroupInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -46437,6 +46615,7 @@ impl<'a, C, A> PlacementGroupGetCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// use dfareporting2d2::PlacementGroup; @@ -46447,9 +46626,9 @@ impl<'a, C, A> PlacementGroupGetCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -46715,6 +46894,7 @@ impl<'a, C, A> PlacementGroupPatchCall<'a, C, A> where C: BorrowMut PlacementGroupPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -47067,6 +47247,7 @@ impl<'a, C, A> InventoryItemListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -47076,9 +47257,9 @@ impl<'a, C, A> InventoryItemListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -47326,6 +47507,7 @@ impl<'a, C, A> InventoryItemGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -47335,9 +47517,9 @@ impl<'a, C, A> InventoryItemGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -47573,6 +47755,7 @@ impl<'a, C, A> UserRolePermissionGetCall<'a, C, A> where C: BorrowMut UserRolePermissionGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -47823,6 +48006,7 @@ impl<'a, C, A> UserRolePermissionListCall<'a, C, A> where C: BorrowMut UserRolePermissionListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -48058,6 +48242,7 @@ impl<'a, C, A> AccountPermissionGroupListCall<'a, C, A> where C: BorrowMut AccountPermissionGroupListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -48305,6 +48490,7 @@ impl<'a, C, A> AccountPermissionGroupGetCall<'a, C, A> where C: BorrowMut AccountPermissionGroupGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -48615,6 +48801,7 @@ impl<'a, C, A> ContentCategoryListCall<'a, C, A> where C: BorrowMut ContentCategoryListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -48881,6 +49068,7 @@ impl<'a, C, A> ContentCategoryUpdateCall<'a, C, A> where C: BorrowMut ContentCategoryUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -49147,6 +49335,7 @@ impl<'a, C, A> ContentCategoryInsertCall<'a, C, A> where C: BorrowMut ContentCategoryInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -49383,6 +49572,7 @@ impl<'a, C, A> ContentCategoryDeleteCall<'a, C, A> where C: BorrowMut ContentCategoryDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -49630,6 +49820,7 @@ impl<'a, C, A> ContentCategoryGetCall<'a, C, A> where C: BorrowMut ContentCategoryGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -49908,6 +50099,7 @@ impl<'a, C, A> ContentCategoryPatchCall<'a, C, A> where C: BorrowMut ContentCategoryPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -50174,6 +50366,7 @@ impl<'a, C, A> CreativeUpdateCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// use dfareporting2d2::Creative; @@ -50184,9 +50377,9 @@ impl<'a, C, A> CreativeUpdateCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -50440,6 +50633,7 @@ impl<'a, C, A> CreativeInsertCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -50449,9 +50643,9 @@ impl<'a, C, A> CreativeInsertCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -50687,6 +50881,7 @@ impl<'a, C, A> CreativeGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -50696,9 +50891,9 @@ impl<'a, C, A> CreativeGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -51132,6 +51327,7 @@ impl<'a, C, A> CreativeListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// use dfareporting2d2::Creative; @@ -51142,9 +51338,9 @@ impl<'a, C, A> CreativeListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -51410,6 +51606,7 @@ impl<'a, C, A> CreativePatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -51419,9 +51616,9 @@ impl<'a, C, A> CreativePatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -51657,6 +51854,7 @@ impl<'a, C, A> CampaignGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// use dfareporting2d2::Campaign; @@ -51667,9 +51865,9 @@ impl<'a, C, A> CampaignGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -51947,6 +52145,7 @@ impl<'a, C, A> CampaignInsertCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// use dfareporting2d2::Campaign; @@ -51957,9 +52156,9 @@ impl<'a, C, A> CampaignInsertCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -52225,6 +52424,7 @@ impl<'a, C, A> CampaignPatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// use dfareporting2d2::Campaign; @@ -52235,9 +52435,9 @@ impl<'a, C, A> CampaignPatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -52491,6 +52691,7 @@ impl<'a, C, A> CampaignUpdateCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -52500,9 +52701,9 @@ impl<'a, C, A> CampaignUpdateCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -52894,6 +53095,7 @@ impl<'a, C, A> CampaignListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -52903,9 +53105,9 @@ impl<'a, C, A> CampaignListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -53130,6 +53332,7 @@ impl<'a, C, A> EventTagDeleteCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -53139,9 +53342,9 @@ impl<'a, C, A> EventTagDeleteCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -53491,6 +53694,7 @@ impl<'a, C, A> EventTagListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// use dfareporting2d2::EventTag; @@ -53501,9 +53705,9 @@ impl<'a, C, A> EventTagListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -53757,6 +53961,7 @@ impl<'a, C, A> EventTagInsertCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// use dfareporting2d2::EventTag; @@ -53767,9 +53972,9 @@ impl<'a, C, A> EventTagInsertCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -54035,6 +54240,7 @@ impl<'a, C, A> EventTagPatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// use dfareporting2d2::EventTag; @@ -54045,9 +54251,9 @@ impl<'a, C, A> EventTagPatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -54301,6 +54507,7 @@ impl<'a, C, A> EventTagUpdateCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -54310,9 +54517,9 @@ impl<'a, C, A> EventTagUpdateCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -54548,6 +54755,7 @@ impl<'a, C, A> EventTagGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -54557,9 +54765,9 @@ impl<'a, C, A> EventTagGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -54795,6 +55003,7 @@ impl<'a, C, A> RemarketingListGetCall<'a, C, A> where C: BorrowMut RemarketingListGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -55061,6 +55270,7 @@ impl<'a, C, A> RemarketingListUpdateCall<'a, C, A> where C: BorrowMut RemarketingListUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -55392,6 +55602,7 @@ impl<'a, C, A> RemarketingListListCall<'a, C, A> where C: BorrowMut RemarketingListListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -55670,6 +55881,7 @@ impl<'a, C, A> RemarketingListPatchCall<'a, C, A> where C: BorrowMut RemarketingListPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -55936,6 +56148,7 @@ impl<'a, C, A> RemarketingListInsertCall<'a, C, A> where C: BorrowMut RemarketingListInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -56228,6 +56441,7 @@ impl<'a, C, A> CityListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// use dfareporting2d2::PlacementStrategy; @@ -56238,9 +56452,9 @@ impl<'a, C, A> CityListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -56494,6 +56708,7 @@ impl<'a, C, A> PlacementStrategyUpdateCall<'a, C, A> where C: BorrowMut PlacementStrategyUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -56741,6 +56956,7 @@ impl<'a, C, A> PlacementStrategyGetCall<'a, C, A> where C: BorrowMut PlacementStrategyGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -57051,6 +57267,7 @@ impl<'a, C, A> PlacementStrategyListCall<'a, C, A> where C: BorrowMut PlacementStrategyListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -57287,6 +57504,7 @@ impl<'a, C, A> PlacementStrategyDeleteCall<'a, C, A> where C: BorrowMut PlacementStrategyDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -57553,6 +57771,7 @@ impl<'a, C, A> PlacementStrategyInsertCall<'a, C, A> where C: BorrowMut PlacementStrategyInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -57831,6 +58050,7 @@ impl<'a, C, A> PlacementStrategyPatchCall<'a, C, A> where C: BorrowMut PlacementStrategyPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -58156,6 +58376,7 @@ impl<'a, C, A> ProjectListCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -58165,9 +58386,9 @@ impl<'a, C, A> ProjectListCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -58403,6 +58624,7 @@ impl<'a, C, A> ProjectGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// use dfareporting2d2::DirectorySite; @@ -58413,9 +58635,9 @@ impl<'a, C, A> ProjectGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -58669,6 +58891,7 @@ impl<'a, C, A> DirectorySiteInsertCall<'a, C, A> where C: BorrowMut DirectorySiteInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -59063,6 +59286,7 @@ impl<'a, C, A> DirectorySiteListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -59072,9 +59296,9 @@ impl<'a, C, A> DirectorySiteListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -59310,6 +59534,7 @@ impl<'a, C, A> DirectorySiteGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// use dfareporting2d2::Size; @@ -59320,9 +59545,9 @@ impl<'a, C, A> DirectorySiteGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -59576,6 +59801,7 @@ impl<'a, C, A> SizeInsertCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -59585,9 +59811,9 @@ impl<'a, C, A> SizeInsertCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -59862,6 +60088,7 @@ impl<'a, C, A> SizeListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -59871,9 +60098,9 @@ impl<'a, C, A> SizeListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -60109,6 +60336,7 @@ impl<'a, C, A> SizeGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -60118,9 +60346,9 @@ impl<'a, C, A> SizeGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -60356,6 +60584,7 @@ impl<'a, C, A> AccountActiveAdSummaryGetCall<'a, C, A> where C: BorrowMut AccountActiveAdSummaryGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -60622,6 +60851,7 @@ impl<'a, C, A> AccountUserProfileUpdateCall<'a, C, A> where C: BorrowMut AccountUserProfileUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -60968,6 +61198,7 @@ impl<'a, C, A> AccountUserProfileListCall<'a, C, A> where C: BorrowMut AccountUserProfileListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -61234,6 +61465,7 @@ impl<'a, C, A> AccountUserProfileInsertCall<'a, C, A> where C: BorrowMut AccountUserProfileInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -61512,6 +61744,7 @@ impl<'a, C, A> AccountUserProfilePatchCall<'a, C, A> where C: BorrowMut AccountUserProfilePatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -61759,6 +61992,7 @@ impl<'a, C, A> AccountUserProfileGetCall<'a, C, A> where C: BorrowMut AccountUserProfileGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -61994,6 +62228,7 @@ impl<'a, C, A> CountryListCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -62003,9 +62238,9 @@ impl<'a, C, A> CountryListCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -62241,6 +62476,7 @@ impl<'a, C, A> CountryGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -62250,9 +62486,9 @@ impl<'a, C, A> CountryGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -62500,6 +62736,7 @@ impl<'a, C, A> OrderDocumentGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -62509,9 +62746,9 @@ impl<'a, C, A> OrderDocumentGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -62864,6 +63101,7 @@ impl<'a, C, A> OrderDocumentListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -62873,9 +63111,9 @@ impl<'a, C, A> OrderDocumentListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -63111,6 +63349,7 @@ impl<'a, C, A> PostalCodeGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -63120,9 +63359,9 @@ impl<'a, C, A> PostalCodeGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -63346,6 +63585,7 @@ impl<'a, C, A> PostalCodeListCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -63355,9 +63595,9 @@ impl<'a, C, A> PostalCodeListCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -63581,6 +63821,7 @@ impl<'a, C, A> BrowserListCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -63590,9 +63831,9 @@ impl<'a, C, A> BrowserListCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -63828,6 +64069,7 @@ impl<'a, C, A> AccountGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -63837,9 +64079,9 @@ impl<'a, C, A> AccountGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -64150,6 +64392,7 @@ impl<'a, C, A> AccountListCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// use dfareporting2d2::Account; @@ -64160,9 +64403,9 @@ impl<'a, C, A> AccountListCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -64416,6 +64659,7 @@ impl<'a, C, A> AccountUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// use dfareporting2d2::Account; @@ -64426,9 +64670,9 @@ impl<'a, C, A> AccountUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -64694,6 +64938,7 @@ impl<'a, C, A> AccountPatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// use dfareporting2d2::Placement; @@ -64704,9 +64949,9 @@ impl<'a, C, A> AccountPatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -64972,6 +65217,7 @@ impl<'a, C, A> PlacementPatchCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -64981,9 +65227,9 @@ impl<'a, C, A> PlacementPatchCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -65504,6 +65750,7 @@ impl<'a, C, A> PlacementListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// use dfareporting2d2::Placement; @@ -65514,9 +65761,9 @@ impl<'a, C, A> PlacementListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -65770,6 +66017,7 @@ impl<'a, C, A> PlacementInsertCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// use dfareporting2d2::Placement; @@ -65780,9 +66028,9 @@ impl<'a, C, A> PlacementInsertCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -66036,6 +66284,7 @@ impl<'a, C, A> PlacementUpdateCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d2 as dfareporting2d2; /// # #[test] fn egal() { @@ -66045,9 +66294,9 @@ impl<'a, C, A> PlacementUpdateCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -66313,6 +66562,7 @@ impl<'a, C, A> PlacementGeneratetagCall<'a, C, A> where C: BorrowMut PlacementGeneratetagCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/dfareporting2d3-cli/Cargo.toml b/gen/dfareporting2d3-cli/Cargo.toml index 8958fb2ab2..dd546c16f5 100644 --- a/gen/dfareporting2d3-cli/Cargo.toml +++ b/gen/dfareporting2d3-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["dfareporting", "google", "cli"] [[bin]] name = "dfareporting2d3" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/dfareporting2d3/Cargo.toml b/gen/dfareporting2d3/Cargo.toml index 1bbce16f89..2412281d89 100644 --- a/gen/dfareporting2d3/Cargo.toml +++ b/gen/dfareporting2d3/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["dfareporting", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/dfareporting2d3/README.md b/gen/dfareporting2d3/README.md index a8094c93c3..dc1e6be0fb 100644 --- a/gen/dfareporting2d3/README.md +++ b/gen/dfareporting2d3/README.md @@ -196,6 +196,7 @@ google-dfareporting2d3 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_dfareporting2d3 as dfareporting2d3; use dfareporting2d3::{Result, Error}; @@ -212,9 +213,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Dfareporting::new(hyper::Client::new(), auth); +let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! diff --git a/gen/dfareporting2d3/src/lib.rs b/gen/dfareporting2d3/src/lib.rs index fca46e900c..d412ecc017 100644 --- a/gen/dfareporting2d3/src/lib.rs +++ b/gen/dfareporting2d3/src/lib.rs @@ -196,6 +196,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_dfareporting2d3 as dfareporting2d3; //! use dfareporting2d3::{Result, Error}; @@ -213,9 +214,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Dfareporting::new(hyper::Client::new(), auth); +//! let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! @@ -383,6 +384,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// use dfareporting2d3::{Result, Error}; @@ -400,9 +402,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6965,6 +6967,7 @@ impl ResponseResult for UserRolesListResponse {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// @@ -6975,9 +6978,9 @@ impl ResponseResult for UserRolesListResponse {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -7042,6 +7045,7 @@ impl<'a, C, A> UserRolePermissionGroupMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// @@ -7052,9 +7056,9 @@ impl<'a, C, A> UserRolePermissionGroupMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -7119,6 +7123,7 @@ impl<'a, C, A> PlatformTypeMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// @@ -7129,9 +7134,9 @@ impl<'a, C, A> PlatformTypeMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -7292,6 +7297,7 @@ impl<'a, C, A> CreativeFieldValueMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// @@ -7302,9 +7308,9 @@ impl<'a, C, A> CreativeFieldValueMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -7454,6 +7460,7 @@ impl<'a, C, A> CreativeFieldMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// @@ -7464,9 +7471,9 @@ impl<'a, C, A> CreativeFieldMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -7617,6 +7624,7 @@ impl<'a, C, A> UserRoleMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// @@ -7627,9 +7635,9 @@ impl<'a, C, A> UserRoleMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -7694,6 +7702,7 @@ impl<'a, C, A> OperatingSystemVersionMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// @@ -7704,9 +7713,9 @@ impl<'a, C, A> OperatingSystemVersionMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -7861,6 +7870,7 @@ impl<'a, C, A> LandingPageMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// @@ -7871,9 +7881,9 @@ impl<'a, C, A> LandingPageMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `insert(...)` /// // to build up your call. @@ -7923,6 +7933,7 @@ impl<'a, C, A> CreativeAssetMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// @@ -7933,9 +7944,9 @@ impl<'a, C, A> CreativeAssetMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `insert(...)` and `list(...)` /// // to build up your call. @@ -8007,6 +8018,7 @@ impl<'a, C, A> CampaignCreativeAssociationMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// @@ -8017,9 +8029,9 @@ impl<'a, C, A> CampaignCreativeAssociationMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -8094,6 +8106,7 @@ impl<'a, C, A> ChangeLogMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// @@ -8104,9 +8117,9 @@ impl<'a, C, A> ChangeLogMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -8194,6 +8207,7 @@ impl<'a, C, A> RemarketingListShareMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// @@ -8204,9 +8218,9 @@ impl<'a, C, A> RemarketingListShareMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `compatible_fields_query(...)`, `delete(...)`, `files_get(...)`, `files_list(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)`, `run(...)` and `update(...)` /// // to build up your call. @@ -8439,6 +8453,7 @@ impl<'a, C, A> ReportMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// @@ -8449,9 +8464,9 @@ impl<'a, C, A> ReportMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -8587,6 +8602,7 @@ impl<'a, C, A> AdvertiserMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// @@ -8597,9 +8613,9 @@ impl<'a, C, A> AdvertiserMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `query(...)` /// // to build up your call. @@ -8649,6 +8665,7 @@ impl<'a, C, A> DimensionValueMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// @@ -8659,9 +8676,9 @@ impl<'a, C, A> DimensionValueMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -8794,6 +8811,7 @@ impl<'a, C, A> FloodlightActivityGroupMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// @@ -8804,9 +8822,9 @@ impl<'a, C, A> FloodlightActivityGroupMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -8852,6 +8870,7 @@ impl<'a, C, A> MetroMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// @@ -8862,9 +8881,9 @@ impl<'a, C, A> MetroMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -8940,6 +8959,7 @@ impl<'a, C, A> OrderMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// @@ -8950,9 +8970,9 @@ impl<'a, C, A> OrderMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -9024,6 +9044,7 @@ impl<'a, C, A> DirectorySiteContactMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// @@ -9034,9 +9055,9 @@ impl<'a, C, A> DirectorySiteContactMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -9094,6 +9115,7 @@ impl<'a, C, A> UserProfileMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// @@ -9104,9 +9126,9 @@ impl<'a, C, A> UserProfileMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -9254,6 +9276,7 @@ impl<'a, C, A> AdMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// @@ -9264,9 +9287,9 @@ impl<'a, C, A> AdMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -9331,6 +9354,7 @@ impl<'a, C, A> AccountPermissionMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// @@ -9341,9 +9365,9 @@ impl<'a, C, A> AccountPermissionMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -9408,6 +9432,7 @@ impl<'a, C, A> ConnectionTypeMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// @@ -9418,9 +9443,9 @@ impl<'a, C, A> ConnectionTypeMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -9569,6 +9594,7 @@ impl<'a, C, A> AdvertiserGroupMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// @@ -9579,9 +9605,9 @@ impl<'a, C, A> AdvertiserGroupMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -9720,6 +9746,7 @@ impl<'a, C, A> SiteMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// @@ -9730,9 +9757,9 @@ impl<'a, C, A> SiteMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `generatetag(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -9906,6 +9933,7 @@ impl<'a, C, A> FloodlightActivityMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// @@ -9916,9 +9944,9 @@ impl<'a, C, A> FloodlightActivityMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -9964,6 +9992,7 @@ impl<'a, C, A> RegionMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// @@ -9974,9 +10003,9 @@ impl<'a, C, A> RegionMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -10108,6 +10137,7 @@ impl<'a, C, A> CreativeGroupMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// @@ -10118,9 +10148,9 @@ impl<'a, C, A> CreativeGroupMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -10193,6 +10223,7 @@ impl<'a, C, A> TargetableRemarketingListMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// @@ -10203,9 +10234,9 @@ impl<'a, C, A> TargetableRemarketingListMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -10335,6 +10366,7 @@ impl<'a, C, A> SubaccountMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// @@ -10345,9 +10377,9 @@ impl<'a, C, A> SubaccountMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -10412,6 +10444,7 @@ impl<'a, C, A> MobileCarrierMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// @@ -10422,9 +10455,9 @@ impl<'a, C, A> MobileCarrierMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -10530,6 +10563,7 @@ impl<'a, C, A> FloodlightConfigurationMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// @@ -10540,9 +10574,9 @@ impl<'a, C, A> FloodlightConfigurationMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -10607,6 +10641,7 @@ impl<'a, C, A> OperatingSystemMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// @@ -10617,9 +10652,9 @@ impl<'a, C, A> OperatingSystemMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -10689,6 +10724,7 @@ impl<'a, C, A> FileMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// @@ -10699,9 +10735,9 @@ impl<'a, C, A> FileMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -10844,6 +10880,7 @@ impl<'a, C, A> PlacementGroupMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// @@ -10854,9 +10891,9 @@ impl<'a, C, A> PlacementGroupMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -10933,6 +10970,7 @@ impl<'a, C, A> InventoryItemMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// @@ -10943,9 +10981,9 @@ impl<'a, C, A> InventoryItemMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11011,6 +11049,7 @@ impl<'a, C, A> UserRolePermissionMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// @@ -11021,9 +11060,9 @@ impl<'a, C, A> UserRolePermissionMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11088,6 +11127,7 @@ impl<'a, C, A> AccountPermissionGroupMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// @@ -11098,9 +11138,9 @@ impl<'a, C, A> AccountPermissionGroupMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -11249,6 +11289,7 @@ impl<'a, C, A> ContentCategoryMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// @@ -11259,9 +11300,9 @@ impl<'a, C, A> ContentCategoryMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -11401,6 +11442,7 @@ impl<'a, C, A> CreativeMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// @@ -11411,9 +11453,9 @@ impl<'a, C, A> CreativeMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -11554,6 +11596,7 @@ impl<'a, C, A> CampaignMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// @@ -11564,9 +11607,9 @@ impl<'a, C, A> CampaignMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -11719,6 +11762,7 @@ impl<'a, C, A> EventTagMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// @@ -11729,9 +11773,9 @@ impl<'a, C, A> EventTagMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -11864,6 +11908,7 @@ impl<'a, C, A> RemarketingListMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// @@ -11874,9 +11919,9 @@ impl<'a, C, A> RemarketingListMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -11926,6 +11971,7 @@ impl<'a, C, A> CityMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// @@ -11936,9 +11982,9 @@ impl<'a, C, A> CityMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -12087,6 +12133,7 @@ impl<'a, C, A> PlacementStrategyMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// @@ -12097,9 +12144,9 @@ impl<'a, C, A> PlacementStrategyMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -12171,6 +12218,7 @@ impl<'a, C, A> ProjectMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// @@ -12181,9 +12229,9 @@ impl<'a, C, A> ProjectMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -12280,6 +12328,7 @@ impl<'a, C, A> DirectorySiteMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// @@ -12290,9 +12339,9 @@ impl<'a, C, A> DirectorySiteMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -12380,6 +12429,7 @@ impl<'a, C, A> SizeMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// @@ -12390,9 +12440,9 @@ impl<'a, C, A> SizeMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -12440,6 +12490,7 @@ impl<'a, C, A> AccountActiveAdSummaryMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// @@ -12450,9 +12501,9 @@ impl<'a, C, A> AccountActiveAdSummaryMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -12585,6 +12636,7 @@ impl<'a, C, A> AccountUserProfileMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// @@ -12595,9 +12647,9 @@ impl<'a, C, A> AccountUserProfileMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -12662,6 +12714,7 @@ impl<'a, C, A> CountryMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// @@ -12672,9 +12725,9 @@ impl<'a, C, A> CountryMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -12752,6 +12805,7 @@ impl<'a, C, A> OrderDocumentMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// @@ -12762,9 +12816,9 @@ impl<'a, C, A> OrderDocumentMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -12829,6 +12883,7 @@ impl<'a, C, A> PostalCodeMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// @@ -12839,9 +12894,9 @@ impl<'a, C, A> PostalCodeMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -12887,6 +12942,7 @@ impl<'a, C, A> BrowserMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// @@ -12897,9 +12953,9 @@ impl<'a, C, A> BrowserMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -13011,6 +13067,7 @@ impl<'a, C, A> AccountMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d3 as dfareporting2d3; /// @@ -13021,9 +13078,9 @@ impl<'a, C, A> AccountMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `generatetags(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -13197,6 +13254,7 @@ impl<'a, C, A> PlacementMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -13206,9 +13264,9 @@ impl<'a, C, A> PlacementMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13444,6 +13502,7 @@ impl<'a, C, A> UserRolePermissionGroupGetCall<'a, C, A> where C: BorrowMut UserRolePermissionGroupGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13679,6 +13738,7 @@ impl<'a, C, A> UserRolePermissionGroupListCall<'a, C, A> where C: BorrowMut UserRolePermissionGroupListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13926,6 +13986,7 @@ impl<'a, C, A> PlatformTypeGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -13935,9 +13996,9 @@ impl<'a, C, A> PlatformTypeGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14161,6 +14222,7 @@ impl<'a, C, A> PlatformTypeListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// use dfareporting2d3::CreativeFieldValue; @@ -14171,9 +14233,9 @@ impl<'a, C, A> PlatformTypeListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14451,6 +14513,7 @@ impl<'a, C, A> CreativeFieldValuePatchCall<'a, C, A> where C: BorrowMut CreativeFieldValuePatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14710,6 +14773,7 @@ impl<'a, C, A> CreativeFieldValueGetCall<'a, C, A> where C: BorrowMut CreativeFieldValueGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14958,6 +15022,7 @@ impl<'a, C, A> CreativeFieldValueDeleteCall<'a, C, A> where C: BorrowMut CreativeFieldValueDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15236,6 +15301,7 @@ impl<'a, C, A> CreativeFieldValueInsertCall<'a, C, A> where C: BorrowMut CreativeFieldValueInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15514,6 +15580,7 @@ impl<'a, C, A> CreativeFieldValueUpdateCall<'a, C, A> where C: BorrowMut CreativeFieldValueUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15836,6 +15903,7 @@ impl<'a, C, A> CreativeFieldValueListCall<'a, C, A> where C: BorrowMut CreativeFieldValueListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16102,6 +16170,7 @@ impl<'a, C, A> CreativeFieldUpdateCall<'a, C, A> where C: BorrowMut CreativeFieldUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16427,6 +16496,7 @@ impl<'a, C, A> CreativeFieldListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -16436,9 +16506,9 @@ impl<'a, C, A> CreativeFieldListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16663,6 +16733,7 @@ impl<'a, C, A> CreativeFieldDeleteCall<'a, C, A> where C: BorrowMut CreativeFieldDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16910,6 +16981,7 @@ impl<'a, C, A> CreativeFieldGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// use dfareporting2d3::CreativeField; @@ -16920,9 +16992,9 @@ impl<'a, C, A> CreativeFieldGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17176,6 +17248,7 @@ impl<'a, C, A> CreativeFieldInsertCall<'a, C, A> where C: BorrowMut CreativeFieldInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17454,6 +17527,7 @@ impl<'a, C, A> CreativeFieldPatchCall<'a, C, A> where C: BorrowMut CreativeFieldPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17720,6 +17794,7 @@ impl<'a, C, A> UserRoleInsertCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -17729,9 +17804,9 @@ impl<'a, C, A> UserRoleInsertCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17967,6 +18042,7 @@ impl<'a, C, A> UserRoleGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// use dfareporting2d3::UserRole; @@ -17977,9 +18053,9 @@ impl<'a, C, A> UserRoleGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18233,6 +18309,7 @@ impl<'a, C, A> UserRoleUpdateCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -18242,9 +18319,9 @@ impl<'a, C, A> UserRoleUpdateCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18469,6 +18546,7 @@ impl<'a, C, A> UserRoleDeleteCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// use dfareporting2d3::UserRole; @@ -18479,9 +18557,9 @@ impl<'a, C, A> UserRoleDeleteCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18747,6 +18825,7 @@ impl<'a, C, A> UserRolePatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -18756,9 +18835,9 @@ impl<'a, C, A> UserRolePatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19081,6 +19160,7 @@ impl<'a, C, A> UserRoleListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -19090,9 +19170,9 @@ impl<'a, C, A> UserRoleListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19328,6 +19408,7 @@ impl<'a, C, A> OperatingSystemVersionGetCall<'a, C, A> where C: BorrowMut OperatingSystemVersionGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19563,6 +19644,7 @@ impl<'a, C, A> OperatingSystemVersionListCall<'a, C, A> where C: BorrowMut OperatingSystemVersionListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19822,6 +19904,7 @@ impl<'a, C, A> LandingPageGetCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// use dfareporting2d3::LandingPage; @@ -19832,9 +19915,9 @@ impl<'a, C, A> LandingPageGetCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20100,6 +20183,7 @@ impl<'a, C, A> LandingPageUpdateCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -20109,9 +20193,9 @@ impl<'a, C, A> LandingPageUpdateCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20347,6 +20431,7 @@ impl<'a, C, A> LandingPageListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// use dfareporting2d3::LandingPage; @@ -20357,9 +20442,9 @@ impl<'a, C, A> LandingPageListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20625,6 +20710,7 @@ impl<'a, C, A> LandingPageInsertCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// use dfareporting2d3::LandingPage; @@ -20635,9 +20721,9 @@ impl<'a, C, A> LandingPageInsertCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20915,6 +21001,7 @@ impl<'a, C, A> LandingPagePatchCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -20924,9 +21011,9 @@ impl<'a, C, A> LandingPagePatchCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21163,6 +21250,7 @@ impl<'a, C, A> LandingPageDeleteCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// use dfareporting2d3::CreativeAssetMetadata; @@ -21174,9 +21262,9 @@ impl<'a, C, A> LandingPageDeleteCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21555,6 +21643,7 @@ impl<'a, C, A> CreativeAssetInsertCall<'a, C, A> where C: BorrowMut CreativeAssetInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21833,6 +21922,7 @@ impl<'a, C, A> CampaignCreativeAssociationInsertCall<'a, C, A> where C: BorrowMu /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -21842,9 +21932,9 @@ impl<'a, C, A> CampaignCreativeAssociationInsertCall<'a, C, A> where C: BorrowMu /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22116,6 +22206,7 @@ impl<'a, C, A> CampaignCreativeAssociationListCall<'a, C, A> where C: BorrowMut< /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -22125,9 +22216,9 @@ impl<'a, C, A> CampaignCreativeAssociationListCall<'a, C, A> where C: BorrowMut< /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22480,6 +22571,7 @@ impl<'a, C, A> ChangeLogListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -22489,9 +22581,9 @@ impl<'a, C, A> ChangeLogListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22727,6 +22819,7 @@ impl<'a, C, A> ChangeLogGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -22736,9 +22829,9 @@ impl<'a, C, A> ChangeLogGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22974,6 +23067,7 @@ impl<'a, C, A> RemarketingListShareGetCall<'a, C, A> where C: BorrowMut RemarketingListShareGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23252,6 +23346,7 @@ impl<'a, C, A> RemarketingListSharePatchCall<'a, C, A> where C: BorrowMut RemarketingListSharePatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23518,6 +23613,7 @@ impl<'a, C, A> RemarketingListShareUpdateCall<'a, C, A> where C: BorrowMut RemarketingListShareUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23777,6 +23873,7 @@ impl<'a, C, A> ReportRunCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// use dfareporting2d3::Report; @@ -23787,9 +23884,9 @@ impl<'a, C, A> ReportRunCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24055,6 +24152,7 @@ impl<'a, C, A> ReportPatchCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -24064,9 +24162,9 @@ impl<'a, C, A> ReportPatchCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -24350,6 +24448,7 @@ impl<'a, C, A> ReportFileListCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// use dfareporting2d3::Report; @@ -24360,9 +24459,9 @@ impl<'a, C, A> ReportFileListCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24616,6 +24715,7 @@ impl<'a, C, A> ReportInsertCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// use dfareporting2d3::Report; @@ -24626,9 +24726,9 @@ impl<'a, C, A> ReportInsertCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24894,6 +24994,7 @@ impl<'a, C, A> ReportUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// use dfareporting2d3::Report; @@ -24904,9 +25005,9 @@ impl<'a, C, A> ReportUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -25160,6 +25261,7 @@ impl<'a, C, A> ReportCompatibleFieldQueryCall<'a, C, A> where C: BorrowMut ReportCompatibleFieldQueryCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25412,6 +25514,7 @@ impl<'a, C, A> ReportGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -25421,9 +25524,9 @@ impl<'a, C, A> ReportGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25687,6 +25790,7 @@ impl<'a, C, A> ReportFileGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -25696,9 +25800,9 @@ impl<'a, C, A> ReportFileGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25923,6 +26027,7 @@ impl<'a, C, A> ReportDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -25932,9 +26037,9 @@ impl<'a, C, A> ReportDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -26218,6 +26323,7 @@ impl<'a, C, A> ReportListCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// use dfareporting2d3::Advertiser; @@ -26228,9 +26334,9 @@ impl<'a, C, A> ReportListCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -26484,6 +26590,7 @@ impl<'a, C, A> AdvertiserInsertCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// use dfareporting2d3::Advertiser; @@ -26494,9 +26601,9 @@ impl<'a, C, A> AdvertiserInsertCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -26762,6 +26869,7 @@ impl<'a, C, A> AdvertiserPatchCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -26771,9 +26879,9 @@ impl<'a, C, A> AdvertiserPatchCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -27150,6 +27258,7 @@ impl<'a, C, A> AdvertiserListCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// use dfareporting2d3::Advertiser; @@ -27160,9 +27269,9 @@ impl<'a, C, A> AdvertiserListCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -27416,6 +27525,7 @@ impl<'a, C, A> AdvertiserUpdateCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -27425,9 +27535,9 @@ impl<'a, C, A> AdvertiserUpdateCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -27663,6 +27773,7 @@ impl<'a, C, A> AdvertiserGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// use dfareporting2d3::DimensionValueRequest; @@ -27673,9 +27784,9 @@ impl<'a, C, A> AdvertiserGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -27953,6 +28064,7 @@ impl<'a, C, A> DimensionValueQueryCall<'a, C, A> where C: BorrowMut DimensionValueQueryCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -28200,6 +28312,7 @@ impl<'a, C, A> FloodlightActivityGroupGetCall<'a, C, A> where C: BorrowMut FloodlightActivityGroupGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -28478,6 +28591,7 @@ impl<'a, C, A> FloodlightActivityGroupPatchCall<'a, C, A> where C: BorrowMut FloodlightActivityGroupPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -28824,6 +28938,7 @@ impl<'a, C, A> FloodlightActivityGroupListCall<'a, C, A> where C: BorrowMut FloodlightActivityGroupListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -29090,6 +29205,7 @@ impl<'a, C, A> FloodlightActivityGroupInsertCall<'a, C, A> where C: BorrowMut FloodlightActivityGroupInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -29356,6 +29472,7 @@ impl<'a, C, A> FloodlightActivityGroupUpdateCall<'a, C, A> where C: BorrowMut FloodlightActivityGroupUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -29591,6 +29708,7 @@ impl<'a, C, A> MetroListCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -29600,9 +29718,9 @@ impl<'a, C, A> MetroListCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -29928,6 +30046,7 @@ impl<'a, C, A> OrderListCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -29937,9 +30056,9 @@ impl<'a, C, A> OrderListCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30187,6 +30306,7 @@ impl<'a, C, A> OrderGetCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -30196,9 +30316,9 @@ impl<'a, C, A> OrderGetCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30434,6 +30554,7 @@ impl<'a, C, A> DirectorySiteContactGetCall<'a, C, A> where C: BorrowMut DirectorySiteContactGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30759,6 +30880,7 @@ impl<'a, C, A> DirectorySiteContactListCall<'a, C, A> where C: BorrowMut DirectorySiteContactListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30961,6 +31083,7 @@ impl<'a, C, A> UserProfileListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -30970,9 +31093,9 @@ impl<'a, C, A> UserProfileListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -31196,6 +31319,7 @@ impl<'a, C, A> UserProfileGetCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// use dfareporting2d3::Ad; @@ -31206,9 +31330,9 @@ impl<'a, C, A> UserProfileGetCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -31474,6 +31598,7 @@ impl<'a, C, A> AdPatchCall<'a, C, A> where C: BorrowMut, A: oauth /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// use dfareporting2d3::Ad; @@ -31484,9 +31609,9 @@ impl<'a, C, A> AdPatchCall<'a, C, A> where C: BorrowMut, A: oauth /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -31740,6 +31865,7 @@ impl<'a, C, A> AdInsertCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -31749,9 +31875,9 @@ impl<'a, C, A> AdInsertCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -32293,6 +32419,7 @@ impl<'a, C, A> AdListCall<'a, C, A> where C: BorrowMut, A: oauth2 /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -32302,9 +32429,9 @@ impl<'a, C, A> AdListCall<'a, C, A> where C: BorrowMut, A: oauth2 /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -32540,6 +32667,7 @@ impl<'a, C, A> AdGetCall<'a, C, A> where C: BorrowMut, A: oauth2: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// use dfareporting2d3::Ad; @@ -32550,9 +32678,9 @@ impl<'a, C, A> AdGetCall<'a, C, A> where C: BorrowMut, A: oauth2: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -32806,6 +32934,7 @@ impl<'a, C, A> AdUpdateCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -32815,9 +32944,9 @@ impl<'a, C, A> AdUpdateCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -33053,6 +33182,7 @@ impl<'a, C, A> AccountPermissionGetCall<'a, C, A> where C: BorrowMut AccountPermissionGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -33288,6 +33418,7 @@ impl<'a, C, A> AccountPermissionListCall<'a, C, A> where C: BorrowMut AccountPermissionListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -33523,6 +33654,7 @@ impl<'a, C, A> ConnectionTypeListCall<'a, C, A> where C: BorrowMut ConnectionTypeListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -33770,6 +33902,7 @@ impl<'a, C, A> ConnectionTypeGetCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -33779,9 +33912,9 @@ impl<'a, C, A> ConnectionTypeGetCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -34017,6 +34150,7 @@ impl<'a, C, A> AdvertiserGroupGetCall<'a, C, A> where C: BorrowMut AdvertiserGroupGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -34327,6 +34461,7 @@ impl<'a, C, A> AdvertiserGroupListCall<'a, C, A> where C: BorrowMut AdvertiserGroupListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -34593,6 +34728,7 @@ impl<'a, C, A> AdvertiserGroupInsertCall<'a, C, A> where C: BorrowMut AdvertiserGroupInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -34859,6 +34995,7 @@ impl<'a, C, A> AdvertiserGroupUpdateCall<'a, C, A> where C: BorrowMut AdvertiserGroupUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -35137,6 +35274,7 @@ impl<'a, C, A> AdvertiserGroupPatchCall<'a, C, A> where C: BorrowMut AdvertiserGroupPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -35373,6 +35511,7 @@ impl<'a, C, A> AdvertiserGroupDeleteCall<'a, C, A> where C: BorrowMut AdvertiserGroupDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -35639,6 +35778,7 @@ impl<'a, C, A> SiteInsertCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -35648,9 +35788,9 @@ impl<'a, C, A> SiteInsertCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -35886,6 +36026,7 @@ impl<'a, C, A> SiteGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -35895,9 +36036,9 @@ impl<'a, C, A> SiteGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -36310,6 +36451,7 @@ impl<'a, C, A> SiteListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// use dfareporting2d3::Site; @@ -36320,9 +36462,9 @@ impl<'a, C, A> SiteListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -36576,6 +36718,7 @@ impl<'a, C, A> SiteUpdateCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// use dfareporting2d3::Site; @@ -36586,9 +36729,9 @@ impl<'a, C, A> SiteUpdateCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -36854,6 +36997,7 @@ impl<'a, C, A> SitePatchCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -36863,9 +37007,9 @@ impl<'a, C, A> SitePatchCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -37101,6 +37245,7 @@ impl<'a, C, A> FloodlightActivityGetCall<'a, C, A> where C: BorrowMut FloodlightActivityGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -37498,6 +37643,7 @@ impl<'a, C, A> FloodlightActivityListCall<'a, C, A> where C: BorrowMut FloodlightActivityListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -37764,6 +37910,7 @@ impl<'a, C, A> FloodlightActivityInsertCall<'a, C, A> where C: BorrowMut FloodlightActivityInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -38000,6 +38147,7 @@ impl<'a, C, A> FloodlightActivityDeleteCall<'a, C, A> where C: BorrowMut FloodlightActivityDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -38278,6 +38426,7 @@ impl<'a, C, A> FloodlightActivityPatchCall<'a, C, A> where C: BorrowMut FloodlightActivityPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -38525,6 +38674,7 @@ impl<'a, C, A> FloodlightActivityGeneratetagCall<'a, C, A> where C: BorrowMut FloodlightActivityGeneratetagCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -38791,6 +38941,7 @@ impl<'a, C, A> FloodlightActivityUpdateCall<'a, C, A> where C: BorrowMut FloodlightActivityUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -39026,6 +39177,7 @@ impl<'a, C, A> RegionListCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// use dfareporting2d3::CreativeGroup; @@ -39036,9 +39188,9 @@ impl<'a, C, A> RegionListCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -39292,6 +39444,7 @@ impl<'a, C, A> CreativeGroupInsertCall<'a, C, A> where C: BorrowMut CreativeGroupInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -39539,6 +39692,7 @@ impl<'a, C, A> CreativeGroupGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// use dfareporting2d3::CreativeGroup; @@ -39549,9 +39703,9 @@ impl<'a, C, A> CreativeGroupGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -39805,6 +39959,7 @@ impl<'a, C, A> CreativeGroupUpdateCall<'a, C, A> where C: BorrowMut CreativeGroupUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -40142,6 +40297,7 @@ impl<'a, C, A> CreativeGroupListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// use dfareporting2d3::CreativeGroup; @@ -40152,9 +40308,9 @@ impl<'a, C, A> CreativeGroupListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -40420,6 +40576,7 @@ impl<'a, C, A> CreativeGroupPatchCall<'a, C, A> where C: BorrowMut CreativeGroupPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -40739,6 +40896,7 @@ impl<'a, C, A> TargetableRemarketingListListCall<'a, C, A> where C: BorrowMut TargetableRemarketingListListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -40986,6 +41144,7 @@ impl<'a, C, A> TargetableRemarketingListGetCall<'a, C, A> where C: BorrowMut TargetableRemarketingListGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -41264,6 +41423,7 @@ impl<'a, C, A> SubaccountPatchCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// use dfareporting2d3::Subaccount; @@ -41274,9 +41434,9 @@ impl<'a, C, A> SubaccountPatchCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -41530,6 +41690,7 @@ impl<'a, C, A> SubaccountInsertCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -41539,9 +41700,9 @@ impl<'a, C, A> SubaccountInsertCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -41840,6 +42001,7 @@ impl<'a, C, A> SubaccountListCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// use dfareporting2d3::Subaccount; @@ -41850,9 +42012,9 @@ impl<'a, C, A> SubaccountListCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -42106,6 +42268,7 @@ impl<'a, C, A> SubaccountUpdateCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -42115,9 +42278,9 @@ impl<'a, C, A> SubaccountUpdateCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -42353,6 +42516,7 @@ impl<'a, C, A> SubaccountGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -42362,9 +42526,9 @@ impl<'a, C, A> SubaccountGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -42600,6 +42764,7 @@ impl<'a, C, A> MobileCarrierGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -42609,9 +42774,9 @@ impl<'a, C, A> MobileCarrierGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -42835,6 +43000,7 @@ impl<'a, C, A> MobileCarrierListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -42844,9 +43010,9 @@ impl<'a, C, A> MobileCarrierListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -43082,6 +43248,7 @@ impl<'a, C, A> FloodlightConfigurationGetCall<'a, C, A> where C: BorrowMut FloodlightConfigurationGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -43348,6 +43515,7 @@ impl<'a, C, A> FloodlightConfigurationUpdateCall<'a, C, A> where C: BorrowMut FloodlightConfigurationUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -43626,6 +43794,7 @@ impl<'a, C, A> FloodlightConfigurationPatchCall<'a, C, A> where C: BorrowMut FloodlightConfigurationPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -43876,6 +44045,7 @@ impl<'a, C, A> FloodlightConfigurationListCall<'a, C, A> where C: BorrowMut FloodlightConfigurationListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -44111,6 +44281,7 @@ impl<'a, C, A> OperatingSystemListCall<'a, C, A> where C: BorrowMut OperatingSystemListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -44358,6 +44529,7 @@ impl<'a, C, A> OperatingSystemGetCall<'a, C, A> where C: BorrowMut OperatingSystemGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -44658,6 +44830,7 @@ impl<'a, C, A> FileListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -44667,9 +44840,9 @@ impl<'a, C, A> FileListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -44921,6 +45094,7 @@ impl<'a, C, A> FileGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -44930,9 +45104,9 @@ impl<'a, C, A> FileGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -45408,6 +45582,7 @@ impl<'a, C, A> PlacementGroupListCall<'a, C, A> where C: BorrowMut PlacementGroupListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -45674,6 +45849,7 @@ impl<'a, C, A> PlacementGroupUpdateCall<'a, C, A> where C: BorrowMut PlacementGroupUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -45940,6 +46116,7 @@ impl<'a, C, A> PlacementGroupInsertCall<'a, C, A> where C: BorrowMut PlacementGroupInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -46187,6 +46364,7 @@ impl<'a, C, A> PlacementGroupGetCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// use dfareporting2d3::PlacementGroup; @@ -46197,9 +46375,9 @@ impl<'a, C, A> PlacementGroupGetCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -46465,6 +46643,7 @@ impl<'a, C, A> PlacementGroupPatchCall<'a, C, A> where C: BorrowMut PlacementGroupPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -46817,6 +46996,7 @@ impl<'a, C, A> InventoryItemListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -46826,9 +47006,9 @@ impl<'a, C, A> InventoryItemListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -47076,6 +47256,7 @@ impl<'a, C, A> InventoryItemGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -47085,9 +47266,9 @@ impl<'a, C, A> InventoryItemGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -47323,6 +47504,7 @@ impl<'a, C, A> UserRolePermissionGetCall<'a, C, A> where C: BorrowMut UserRolePermissionGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -47573,6 +47755,7 @@ impl<'a, C, A> UserRolePermissionListCall<'a, C, A> where C: BorrowMut UserRolePermissionListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -47808,6 +47991,7 @@ impl<'a, C, A> AccountPermissionGroupListCall<'a, C, A> where C: BorrowMut AccountPermissionGroupListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -48055,6 +48239,7 @@ impl<'a, C, A> AccountPermissionGroupGetCall<'a, C, A> where C: BorrowMut AccountPermissionGroupGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -48365,6 +48550,7 @@ impl<'a, C, A> ContentCategoryListCall<'a, C, A> where C: BorrowMut ContentCategoryListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -48631,6 +48817,7 @@ impl<'a, C, A> ContentCategoryUpdateCall<'a, C, A> where C: BorrowMut ContentCategoryUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -48897,6 +49084,7 @@ impl<'a, C, A> ContentCategoryInsertCall<'a, C, A> where C: BorrowMut ContentCategoryInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -49133,6 +49321,7 @@ impl<'a, C, A> ContentCategoryDeleteCall<'a, C, A> where C: BorrowMut ContentCategoryDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -49380,6 +49569,7 @@ impl<'a, C, A> ContentCategoryGetCall<'a, C, A> where C: BorrowMut ContentCategoryGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -49658,6 +49848,7 @@ impl<'a, C, A> ContentCategoryPatchCall<'a, C, A> where C: BorrowMut ContentCategoryPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -49924,6 +50115,7 @@ impl<'a, C, A> CreativeUpdateCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// use dfareporting2d3::Creative; @@ -49934,9 +50126,9 @@ impl<'a, C, A> CreativeUpdateCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -50190,6 +50382,7 @@ impl<'a, C, A> CreativeInsertCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -50199,9 +50392,9 @@ impl<'a, C, A> CreativeInsertCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -50437,6 +50630,7 @@ impl<'a, C, A> CreativeGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -50446,9 +50640,9 @@ impl<'a, C, A> CreativeGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -50882,6 +51076,7 @@ impl<'a, C, A> CreativeListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// use dfareporting2d3::Creative; @@ -50892,9 +51087,9 @@ impl<'a, C, A> CreativeListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -51160,6 +51355,7 @@ impl<'a, C, A> CreativePatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -51169,9 +51365,9 @@ impl<'a, C, A> CreativePatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -51407,6 +51603,7 @@ impl<'a, C, A> CampaignGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// use dfareporting2d3::Campaign; @@ -51417,9 +51614,9 @@ impl<'a, C, A> CampaignGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -51697,6 +51894,7 @@ impl<'a, C, A> CampaignInsertCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// use dfareporting2d3::Campaign; @@ -51707,9 +51905,9 @@ impl<'a, C, A> CampaignInsertCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -51975,6 +52173,7 @@ impl<'a, C, A> CampaignPatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// use dfareporting2d3::Campaign; @@ -51985,9 +52184,9 @@ impl<'a, C, A> CampaignPatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -52241,6 +52440,7 @@ impl<'a, C, A> CampaignUpdateCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -52250,9 +52450,9 @@ impl<'a, C, A> CampaignUpdateCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -52644,6 +52844,7 @@ impl<'a, C, A> CampaignListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -52653,9 +52854,9 @@ impl<'a, C, A> CampaignListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -52880,6 +53081,7 @@ impl<'a, C, A> EventTagDeleteCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -52889,9 +53091,9 @@ impl<'a, C, A> EventTagDeleteCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -53241,6 +53443,7 @@ impl<'a, C, A> EventTagListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// use dfareporting2d3::EventTag; @@ -53251,9 +53454,9 @@ impl<'a, C, A> EventTagListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -53507,6 +53710,7 @@ impl<'a, C, A> EventTagInsertCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// use dfareporting2d3::EventTag; @@ -53517,9 +53721,9 @@ impl<'a, C, A> EventTagInsertCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -53785,6 +53989,7 @@ impl<'a, C, A> EventTagPatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// use dfareporting2d3::EventTag; @@ -53795,9 +54000,9 @@ impl<'a, C, A> EventTagPatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -54051,6 +54256,7 @@ impl<'a, C, A> EventTagUpdateCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -54060,9 +54266,9 @@ impl<'a, C, A> EventTagUpdateCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -54298,6 +54504,7 @@ impl<'a, C, A> EventTagGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -54307,9 +54514,9 @@ impl<'a, C, A> EventTagGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -54545,6 +54752,7 @@ impl<'a, C, A> RemarketingListGetCall<'a, C, A> where C: BorrowMut RemarketingListGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -54811,6 +55019,7 @@ impl<'a, C, A> RemarketingListUpdateCall<'a, C, A> where C: BorrowMut RemarketingListUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -55142,6 +55351,7 @@ impl<'a, C, A> RemarketingListListCall<'a, C, A> where C: BorrowMut RemarketingListListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -55420,6 +55630,7 @@ impl<'a, C, A> RemarketingListPatchCall<'a, C, A> where C: BorrowMut RemarketingListPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -55686,6 +55897,7 @@ impl<'a, C, A> RemarketingListInsertCall<'a, C, A> where C: BorrowMut RemarketingListInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -55978,6 +56190,7 @@ impl<'a, C, A> CityListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// use dfareporting2d3::PlacementStrategy; @@ -55988,9 +56201,9 @@ impl<'a, C, A> CityListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -56244,6 +56457,7 @@ impl<'a, C, A> PlacementStrategyUpdateCall<'a, C, A> where C: BorrowMut PlacementStrategyUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -56491,6 +56705,7 @@ impl<'a, C, A> PlacementStrategyGetCall<'a, C, A> where C: BorrowMut PlacementStrategyGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -56801,6 +57016,7 @@ impl<'a, C, A> PlacementStrategyListCall<'a, C, A> where C: BorrowMut PlacementStrategyListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -57037,6 +57253,7 @@ impl<'a, C, A> PlacementStrategyDeleteCall<'a, C, A> where C: BorrowMut PlacementStrategyDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -57303,6 +57520,7 @@ impl<'a, C, A> PlacementStrategyInsertCall<'a, C, A> where C: BorrowMut PlacementStrategyInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -57581,6 +57799,7 @@ impl<'a, C, A> PlacementStrategyPatchCall<'a, C, A> where C: BorrowMut PlacementStrategyPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -57906,6 +58125,7 @@ impl<'a, C, A> ProjectListCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -57915,9 +58135,9 @@ impl<'a, C, A> ProjectListCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -58153,6 +58373,7 @@ impl<'a, C, A> ProjectGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// use dfareporting2d3::DirectorySite; @@ -58163,9 +58384,9 @@ impl<'a, C, A> ProjectGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -58419,6 +58640,7 @@ impl<'a, C, A> DirectorySiteInsertCall<'a, C, A> where C: BorrowMut DirectorySiteInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -58813,6 +59035,7 @@ impl<'a, C, A> DirectorySiteListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -58822,9 +59045,9 @@ impl<'a, C, A> DirectorySiteListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -59060,6 +59283,7 @@ impl<'a, C, A> DirectorySiteGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// use dfareporting2d3::Size; @@ -59070,9 +59294,9 @@ impl<'a, C, A> DirectorySiteGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -59326,6 +59550,7 @@ impl<'a, C, A> SizeInsertCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -59335,9 +59560,9 @@ impl<'a, C, A> SizeInsertCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -59612,6 +59837,7 @@ impl<'a, C, A> SizeListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -59621,9 +59847,9 @@ impl<'a, C, A> SizeListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -59859,6 +60085,7 @@ impl<'a, C, A> SizeGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -59868,9 +60095,9 @@ impl<'a, C, A> SizeGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -60106,6 +60333,7 @@ impl<'a, C, A> AccountActiveAdSummaryGetCall<'a, C, A> where C: BorrowMut AccountActiveAdSummaryGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -60372,6 +60600,7 @@ impl<'a, C, A> AccountUserProfileUpdateCall<'a, C, A> where C: BorrowMut AccountUserProfileUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -60718,6 +60947,7 @@ impl<'a, C, A> AccountUserProfileListCall<'a, C, A> where C: BorrowMut AccountUserProfileListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -60984,6 +61214,7 @@ impl<'a, C, A> AccountUserProfileInsertCall<'a, C, A> where C: BorrowMut AccountUserProfileInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -61262,6 +61493,7 @@ impl<'a, C, A> AccountUserProfilePatchCall<'a, C, A> where C: BorrowMut AccountUserProfilePatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -61509,6 +61741,7 @@ impl<'a, C, A> AccountUserProfileGetCall<'a, C, A> where C: BorrowMut AccountUserProfileGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -61744,6 +61977,7 @@ impl<'a, C, A> CountryListCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -61753,9 +61987,9 @@ impl<'a, C, A> CountryListCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -61991,6 +62225,7 @@ impl<'a, C, A> CountryGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -62000,9 +62235,9 @@ impl<'a, C, A> CountryGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -62250,6 +62485,7 @@ impl<'a, C, A> OrderDocumentGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -62259,9 +62495,9 @@ impl<'a, C, A> OrderDocumentGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -62614,6 +62850,7 @@ impl<'a, C, A> OrderDocumentListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -62623,9 +62860,9 @@ impl<'a, C, A> OrderDocumentListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -62861,6 +63098,7 @@ impl<'a, C, A> PostalCodeGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -62870,9 +63108,9 @@ impl<'a, C, A> PostalCodeGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -63096,6 +63334,7 @@ impl<'a, C, A> PostalCodeListCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -63105,9 +63344,9 @@ impl<'a, C, A> PostalCodeListCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -63331,6 +63570,7 @@ impl<'a, C, A> BrowserListCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -63340,9 +63580,9 @@ impl<'a, C, A> BrowserListCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -63578,6 +63818,7 @@ impl<'a, C, A> AccountGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -63587,9 +63828,9 @@ impl<'a, C, A> AccountGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -63900,6 +64141,7 @@ impl<'a, C, A> AccountListCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// use dfareporting2d3::Account; @@ -63910,9 +64152,9 @@ impl<'a, C, A> AccountListCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -64166,6 +64408,7 @@ impl<'a, C, A> AccountUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// use dfareporting2d3::Account; @@ -64176,9 +64419,9 @@ impl<'a, C, A> AccountUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -64444,6 +64687,7 @@ impl<'a, C, A> AccountPatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// use dfareporting2d3::Placement; @@ -64454,9 +64698,9 @@ impl<'a, C, A> AccountPatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -64722,6 +64966,7 @@ impl<'a, C, A> PlacementPatchCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -64731,9 +64976,9 @@ impl<'a, C, A> PlacementPatchCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -65254,6 +65499,7 @@ impl<'a, C, A> PlacementListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// use dfareporting2d3::Placement; @@ -65264,9 +65510,9 @@ impl<'a, C, A> PlacementListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -65520,6 +65766,7 @@ impl<'a, C, A> PlacementInsertCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// use dfareporting2d3::Placement; @@ -65530,9 +65777,9 @@ impl<'a, C, A> PlacementInsertCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -65786,6 +66033,7 @@ impl<'a, C, A> PlacementUpdateCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d3 as dfareporting2d3; /// # #[test] fn egal() { @@ -65795,9 +66043,9 @@ impl<'a, C, A> PlacementUpdateCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -66063,6 +66311,7 @@ impl<'a, C, A> PlacementGeneratetagCall<'a, C, A> where C: BorrowMut PlacementGeneratetagCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/dfareporting2d4-cli/Cargo.toml b/gen/dfareporting2d4-cli/Cargo.toml index b33f9c24f8..34128093aa 100644 --- a/gen/dfareporting2d4-cli/Cargo.toml +++ b/gen/dfareporting2d4-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["dfareporting", "google", "cli"] [[bin]] name = "dfareporting2d4" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/dfareporting2d4/Cargo.toml b/gen/dfareporting2d4/Cargo.toml index f5c5bf9fc3..1c04c2fd74 100644 --- a/gen/dfareporting2d4/Cargo.toml +++ b/gen/dfareporting2d4/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["dfareporting", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/dfareporting2d4/README.md b/gen/dfareporting2d4/README.md index 23c580caa2..0b86c4877f 100644 --- a/gen/dfareporting2d4/README.md +++ b/gen/dfareporting2d4/README.md @@ -196,6 +196,7 @@ google-dfareporting2d4 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_dfareporting2d4 as dfareporting2d4; use dfareporting2d4::{Result, Error}; @@ -212,9 +213,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Dfareporting::new(hyper::Client::new(), auth); +let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! diff --git a/gen/dfareporting2d4/src/lib.rs b/gen/dfareporting2d4/src/lib.rs index 131edfb696..4071692959 100644 --- a/gen/dfareporting2d4/src/lib.rs +++ b/gen/dfareporting2d4/src/lib.rs @@ -196,6 +196,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_dfareporting2d4 as dfareporting2d4; //! use dfareporting2d4::{Result, Error}; @@ -213,9 +214,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Dfareporting::new(hyper::Client::new(), auth); +//! let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! @@ -383,6 +384,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// use dfareporting2d4::{Result, Error}; @@ -400,9 +402,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6968,6 +6970,7 @@ impl ResponseResult for UserRolesListResponse {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// @@ -6978,9 +6981,9 @@ impl ResponseResult for UserRolesListResponse {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -7045,6 +7048,7 @@ impl<'a, C, A> UserRolePermissionGroupMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// @@ -7055,9 +7059,9 @@ impl<'a, C, A> UserRolePermissionGroupMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -7122,6 +7126,7 @@ impl<'a, C, A> PlatformTypeMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// @@ -7132,9 +7137,9 @@ impl<'a, C, A> PlatformTypeMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -7295,6 +7300,7 @@ impl<'a, C, A> CreativeFieldValueMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// @@ -7305,9 +7311,9 @@ impl<'a, C, A> CreativeFieldValueMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -7457,6 +7463,7 @@ impl<'a, C, A> CreativeFieldMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// @@ -7467,9 +7474,9 @@ impl<'a, C, A> CreativeFieldMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -7620,6 +7627,7 @@ impl<'a, C, A> UserRoleMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// @@ -7630,9 +7638,9 @@ impl<'a, C, A> UserRoleMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -7697,6 +7705,7 @@ impl<'a, C, A> OperatingSystemVersionMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// @@ -7707,9 +7716,9 @@ impl<'a, C, A> OperatingSystemVersionMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -7864,6 +7873,7 @@ impl<'a, C, A> LandingPageMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// @@ -7874,9 +7884,9 @@ impl<'a, C, A> LandingPageMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `insert(...)` /// // to build up your call. @@ -7926,6 +7936,7 @@ impl<'a, C, A> CreativeAssetMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// @@ -7936,9 +7947,9 @@ impl<'a, C, A> CreativeAssetMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `insert(...)` and `list(...)` /// // to build up your call. @@ -8010,6 +8021,7 @@ impl<'a, C, A> CampaignCreativeAssociationMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// @@ -8020,9 +8032,9 @@ impl<'a, C, A> CampaignCreativeAssociationMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -8097,6 +8109,7 @@ impl<'a, C, A> ChangeLogMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// @@ -8107,9 +8120,9 @@ impl<'a, C, A> ChangeLogMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -8197,6 +8210,7 @@ impl<'a, C, A> RemarketingListShareMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// @@ -8207,9 +8221,9 @@ impl<'a, C, A> RemarketingListShareMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `compatible_fields_query(...)`, `delete(...)`, `files_get(...)`, `files_list(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)`, `run(...)` and `update(...)` /// // to build up your call. @@ -8442,6 +8456,7 @@ impl<'a, C, A> ReportMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// @@ -8452,9 +8467,9 @@ impl<'a, C, A> ReportMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -8590,6 +8605,7 @@ impl<'a, C, A> AdvertiserMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// @@ -8600,9 +8616,9 @@ impl<'a, C, A> AdvertiserMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `query(...)` /// // to build up your call. @@ -8652,6 +8668,7 @@ impl<'a, C, A> DimensionValueMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// @@ -8662,9 +8679,9 @@ impl<'a, C, A> DimensionValueMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -8797,6 +8814,7 @@ impl<'a, C, A> FloodlightActivityGroupMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// @@ -8807,9 +8825,9 @@ impl<'a, C, A> FloodlightActivityGroupMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -8855,6 +8873,7 @@ impl<'a, C, A> MetroMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// @@ -8865,9 +8884,9 @@ impl<'a, C, A> MetroMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -8943,6 +8962,7 @@ impl<'a, C, A> OrderMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// @@ -8953,9 +8973,9 @@ impl<'a, C, A> OrderMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -9027,6 +9047,7 @@ impl<'a, C, A> DirectorySiteContactMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// @@ -9037,9 +9058,9 @@ impl<'a, C, A> DirectorySiteContactMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -9097,6 +9118,7 @@ impl<'a, C, A> UserProfileMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// @@ -9107,9 +9129,9 @@ impl<'a, C, A> UserProfileMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -9257,6 +9279,7 @@ impl<'a, C, A> AdMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// @@ -9267,9 +9290,9 @@ impl<'a, C, A> AdMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -9334,6 +9357,7 @@ impl<'a, C, A> AccountPermissionMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// @@ -9344,9 +9368,9 @@ impl<'a, C, A> AccountPermissionMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -9411,6 +9435,7 @@ impl<'a, C, A> ConnectionTypeMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// @@ -9421,9 +9446,9 @@ impl<'a, C, A> ConnectionTypeMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -9572,6 +9597,7 @@ impl<'a, C, A> AdvertiserGroupMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// @@ -9582,9 +9608,9 @@ impl<'a, C, A> AdvertiserGroupMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -9723,6 +9749,7 @@ impl<'a, C, A> SiteMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// @@ -9733,9 +9760,9 @@ impl<'a, C, A> SiteMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `generatetag(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -9909,6 +9936,7 @@ impl<'a, C, A> FloodlightActivityMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// @@ -9919,9 +9947,9 @@ impl<'a, C, A> FloodlightActivityMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -9967,6 +9995,7 @@ impl<'a, C, A> RegionMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// @@ -9977,9 +10006,9 @@ impl<'a, C, A> RegionMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -10111,6 +10140,7 @@ impl<'a, C, A> CreativeGroupMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// @@ -10121,9 +10151,9 @@ impl<'a, C, A> CreativeGroupMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -10196,6 +10226,7 @@ impl<'a, C, A> TargetableRemarketingListMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// @@ -10206,9 +10237,9 @@ impl<'a, C, A> TargetableRemarketingListMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -10338,6 +10369,7 @@ impl<'a, C, A> SubaccountMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// @@ -10348,9 +10380,9 @@ impl<'a, C, A> SubaccountMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -10415,6 +10447,7 @@ impl<'a, C, A> MobileCarrierMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// @@ -10425,9 +10458,9 @@ impl<'a, C, A> MobileCarrierMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -10533,6 +10566,7 @@ impl<'a, C, A> FloodlightConfigurationMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// @@ -10543,9 +10577,9 @@ impl<'a, C, A> FloodlightConfigurationMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -10610,6 +10644,7 @@ impl<'a, C, A> OperatingSystemMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// @@ -10620,9 +10655,9 @@ impl<'a, C, A> OperatingSystemMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -10692,6 +10727,7 @@ impl<'a, C, A> FileMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// @@ -10702,9 +10738,9 @@ impl<'a, C, A> FileMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -10847,6 +10883,7 @@ impl<'a, C, A> PlacementGroupMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// @@ -10857,9 +10894,9 @@ impl<'a, C, A> PlacementGroupMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -10937,6 +10974,7 @@ impl<'a, C, A> InventoryItemMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// @@ -10947,9 +10985,9 @@ impl<'a, C, A> InventoryItemMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11015,6 +11053,7 @@ impl<'a, C, A> UserRolePermissionMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// @@ -11025,9 +11064,9 @@ impl<'a, C, A> UserRolePermissionMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11092,6 +11131,7 @@ impl<'a, C, A> AccountPermissionGroupMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// @@ -11102,9 +11142,9 @@ impl<'a, C, A> AccountPermissionGroupMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -11253,6 +11293,7 @@ impl<'a, C, A> ContentCategoryMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// @@ -11263,9 +11304,9 @@ impl<'a, C, A> ContentCategoryMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -11405,6 +11446,7 @@ impl<'a, C, A> CreativeMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// @@ -11415,9 +11457,9 @@ impl<'a, C, A> CreativeMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -11558,6 +11600,7 @@ impl<'a, C, A> CampaignMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// @@ -11568,9 +11611,9 @@ impl<'a, C, A> CampaignMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -11723,6 +11766,7 @@ impl<'a, C, A> EventTagMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// @@ -11733,9 +11777,9 @@ impl<'a, C, A> EventTagMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -11868,6 +11912,7 @@ impl<'a, C, A> RemarketingListMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// @@ -11878,9 +11923,9 @@ impl<'a, C, A> RemarketingListMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -11930,6 +11975,7 @@ impl<'a, C, A> CityMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// @@ -11940,9 +11986,9 @@ impl<'a, C, A> CityMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -12091,6 +12137,7 @@ impl<'a, C, A> PlacementStrategyMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// @@ -12101,9 +12148,9 @@ impl<'a, C, A> PlacementStrategyMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -12175,6 +12222,7 @@ impl<'a, C, A> ProjectMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// @@ -12185,9 +12233,9 @@ impl<'a, C, A> ProjectMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -12284,6 +12332,7 @@ impl<'a, C, A> DirectorySiteMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// @@ -12294,9 +12343,9 @@ impl<'a, C, A> DirectorySiteMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -12384,6 +12433,7 @@ impl<'a, C, A> SizeMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// @@ -12394,9 +12444,9 @@ impl<'a, C, A> SizeMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -12444,6 +12494,7 @@ impl<'a, C, A> AccountActiveAdSummaryMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// @@ -12454,9 +12505,9 @@ impl<'a, C, A> AccountActiveAdSummaryMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -12589,6 +12640,7 @@ impl<'a, C, A> AccountUserProfileMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// @@ -12599,9 +12651,9 @@ impl<'a, C, A> AccountUserProfileMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -12666,6 +12718,7 @@ impl<'a, C, A> CountryMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// @@ -12676,9 +12729,9 @@ impl<'a, C, A> CountryMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -12756,6 +12809,7 @@ impl<'a, C, A> OrderDocumentMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// @@ -12766,9 +12820,9 @@ impl<'a, C, A> OrderDocumentMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -12833,6 +12887,7 @@ impl<'a, C, A> PostalCodeMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// @@ -12843,9 +12898,9 @@ impl<'a, C, A> PostalCodeMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -12891,6 +12946,7 @@ impl<'a, C, A> BrowserMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// @@ -12901,9 +12957,9 @@ impl<'a, C, A> BrowserMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -13015,6 +13071,7 @@ impl<'a, C, A> AccountMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d4 as dfareporting2d4; /// @@ -13025,9 +13082,9 @@ impl<'a, C, A> AccountMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `generatetags(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -13201,6 +13258,7 @@ impl<'a, C, A> PlacementMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -13210,9 +13268,9 @@ impl<'a, C, A> PlacementMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13448,6 +13506,7 @@ impl<'a, C, A> UserRolePermissionGroupGetCall<'a, C, A> where C: BorrowMut UserRolePermissionGroupGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13683,6 +13742,7 @@ impl<'a, C, A> UserRolePermissionGroupListCall<'a, C, A> where C: BorrowMut UserRolePermissionGroupListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13930,6 +13990,7 @@ impl<'a, C, A> PlatformTypeGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -13939,9 +14000,9 @@ impl<'a, C, A> PlatformTypeGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14165,6 +14226,7 @@ impl<'a, C, A> PlatformTypeListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// use dfareporting2d4::CreativeFieldValue; @@ -14175,9 +14237,9 @@ impl<'a, C, A> PlatformTypeListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14455,6 +14517,7 @@ impl<'a, C, A> CreativeFieldValuePatchCall<'a, C, A> where C: BorrowMut CreativeFieldValuePatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14714,6 +14777,7 @@ impl<'a, C, A> CreativeFieldValueGetCall<'a, C, A> where C: BorrowMut CreativeFieldValueGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14962,6 +15026,7 @@ impl<'a, C, A> CreativeFieldValueDeleteCall<'a, C, A> where C: BorrowMut CreativeFieldValueDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15240,6 +15305,7 @@ impl<'a, C, A> CreativeFieldValueInsertCall<'a, C, A> where C: BorrowMut CreativeFieldValueInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15518,6 +15584,7 @@ impl<'a, C, A> CreativeFieldValueUpdateCall<'a, C, A> where C: BorrowMut CreativeFieldValueUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15840,6 +15907,7 @@ impl<'a, C, A> CreativeFieldValueListCall<'a, C, A> where C: BorrowMut CreativeFieldValueListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16106,6 +16174,7 @@ impl<'a, C, A> CreativeFieldUpdateCall<'a, C, A> where C: BorrowMut CreativeFieldUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16431,6 +16500,7 @@ impl<'a, C, A> CreativeFieldListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -16440,9 +16510,9 @@ impl<'a, C, A> CreativeFieldListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16667,6 +16737,7 @@ impl<'a, C, A> CreativeFieldDeleteCall<'a, C, A> where C: BorrowMut CreativeFieldDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16914,6 +16985,7 @@ impl<'a, C, A> CreativeFieldGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// use dfareporting2d4::CreativeField; @@ -16924,9 +16996,9 @@ impl<'a, C, A> CreativeFieldGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17180,6 +17252,7 @@ impl<'a, C, A> CreativeFieldInsertCall<'a, C, A> where C: BorrowMut CreativeFieldInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17458,6 +17531,7 @@ impl<'a, C, A> CreativeFieldPatchCall<'a, C, A> where C: BorrowMut CreativeFieldPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17724,6 +17798,7 @@ impl<'a, C, A> UserRoleInsertCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -17733,9 +17808,9 @@ impl<'a, C, A> UserRoleInsertCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17971,6 +18046,7 @@ impl<'a, C, A> UserRoleGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// use dfareporting2d4::UserRole; @@ -17981,9 +18057,9 @@ impl<'a, C, A> UserRoleGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18237,6 +18313,7 @@ impl<'a, C, A> UserRoleUpdateCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -18246,9 +18323,9 @@ impl<'a, C, A> UserRoleUpdateCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18473,6 +18550,7 @@ impl<'a, C, A> UserRoleDeleteCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// use dfareporting2d4::UserRole; @@ -18483,9 +18561,9 @@ impl<'a, C, A> UserRoleDeleteCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18751,6 +18829,7 @@ impl<'a, C, A> UserRolePatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -18760,9 +18839,9 @@ impl<'a, C, A> UserRolePatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19085,6 +19164,7 @@ impl<'a, C, A> UserRoleListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -19094,9 +19174,9 @@ impl<'a, C, A> UserRoleListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19332,6 +19412,7 @@ impl<'a, C, A> OperatingSystemVersionGetCall<'a, C, A> where C: BorrowMut OperatingSystemVersionGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19567,6 +19648,7 @@ impl<'a, C, A> OperatingSystemVersionListCall<'a, C, A> where C: BorrowMut OperatingSystemVersionListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19826,6 +19908,7 @@ impl<'a, C, A> LandingPageGetCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// use dfareporting2d4::LandingPage; @@ -19836,9 +19919,9 @@ impl<'a, C, A> LandingPageGetCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20104,6 +20187,7 @@ impl<'a, C, A> LandingPageUpdateCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -20113,9 +20197,9 @@ impl<'a, C, A> LandingPageUpdateCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20351,6 +20435,7 @@ impl<'a, C, A> LandingPageListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// use dfareporting2d4::LandingPage; @@ -20361,9 +20446,9 @@ impl<'a, C, A> LandingPageListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20629,6 +20714,7 @@ impl<'a, C, A> LandingPageInsertCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// use dfareporting2d4::LandingPage; @@ -20639,9 +20725,9 @@ impl<'a, C, A> LandingPageInsertCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20919,6 +21005,7 @@ impl<'a, C, A> LandingPagePatchCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -20928,9 +21015,9 @@ impl<'a, C, A> LandingPagePatchCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21167,6 +21254,7 @@ impl<'a, C, A> LandingPageDeleteCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// use dfareporting2d4::CreativeAssetMetadata; @@ -21178,9 +21266,9 @@ impl<'a, C, A> LandingPageDeleteCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21559,6 +21647,7 @@ impl<'a, C, A> CreativeAssetInsertCall<'a, C, A> where C: BorrowMut CreativeAssetInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21837,6 +21926,7 @@ impl<'a, C, A> CampaignCreativeAssociationInsertCall<'a, C, A> where C: BorrowMu /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -21846,9 +21936,9 @@ impl<'a, C, A> CampaignCreativeAssociationInsertCall<'a, C, A> where C: BorrowMu /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22120,6 +22210,7 @@ impl<'a, C, A> CampaignCreativeAssociationListCall<'a, C, A> where C: BorrowMut< /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -22129,9 +22220,9 @@ impl<'a, C, A> CampaignCreativeAssociationListCall<'a, C, A> where C: BorrowMut< /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22484,6 +22575,7 @@ impl<'a, C, A> ChangeLogListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -22493,9 +22585,9 @@ impl<'a, C, A> ChangeLogListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22731,6 +22823,7 @@ impl<'a, C, A> ChangeLogGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -22740,9 +22833,9 @@ impl<'a, C, A> ChangeLogGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22978,6 +23071,7 @@ impl<'a, C, A> RemarketingListShareGetCall<'a, C, A> where C: BorrowMut RemarketingListShareGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23256,6 +23350,7 @@ impl<'a, C, A> RemarketingListSharePatchCall<'a, C, A> where C: BorrowMut RemarketingListSharePatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23522,6 +23617,7 @@ impl<'a, C, A> RemarketingListShareUpdateCall<'a, C, A> where C: BorrowMut RemarketingListShareUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23781,6 +23877,7 @@ impl<'a, C, A> ReportRunCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// use dfareporting2d4::Report; @@ -23791,9 +23888,9 @@ impl<'a, C, A> ReportRunCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24059,6 +24156,7 @@ impl<'a, C, A> ReportPatchCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -24068,9 +24166,9 @@ impl<'a, C, A> ReportPatchCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -24354,6 +24452,7 @@ impl<'a, C, A> ReportFileListCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// use dfareporting2d4::Report; @@ -24364,9 +24463,9 @@ impl<'a, C, A> ReportFileListCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24620,6 +24719,7 @@ impl<'a, C, A> ReportInsertCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// use dfareporting2d4::Report; @@ -24630,9 +24730,9 @@ impl<'a, C, A> ReportInsertCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24898,6 +24998,7 @@ impl<'a, C, A> ReportUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// use dfareporting2d4::Report; @@ -24908,9 +25009,9 @@ impl<'a, C, A> ReportUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -25164,6 +25265,7 @@ impl<'a, C, A> ReportCompatibleFieldQueryCall<'a, C, A> where C: BorrowMut ReportCompatibleFieldQueryCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25416,6 +25518,7 @@ impl<'a, C, A> ReportGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -25425,9 +25528,9 @@ impl<'a, C, A> ReportGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25691,6 +25794,7 @@ impl<'a, C, A> ReportFileGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -25700,9 +25804,9 @@ impl<'a, C, A> ReportFileGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25927,6 +26031,7 @@ impl<'a, C, A> ReportDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -25936,9 +26041,9 @@ impl<'a, C, A> ReportDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -26222,6 +26327,7 @@ impl<'a, C, A> ReportListCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// use dfareporting2d4::Advertiser; @@ -26232,9 +26338,9 @@ impl<'a, C, A> ReportListCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -26488,6 +26594,7 @@ impl<'a, C, A> AdvertiserInsertCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// use dfareporting2d4::Advertiser; @@ -26498,9 +26605,9 @@ impl<'a, C, A> AdvertiserInsertCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -26766,6 +26873,7 @@ impl<'a, C, A> AdvertiserPatchCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -26775,9 +26883,9 @@ impl<'a, C, A> AdvertiserPatchCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -27154,6 +27262,7 @@ impl<'a, C, A> AdvertiserListCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// use dfareporting2d4::Advertiser; @@ -27164,9 +27273,9 @@ impl<'a, C, A> AdvertiserListCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -27420,6 +27529,7 @@ impl<'a, C, A> AdvertiserUpdateCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -27429,9 +27539,9 @@ impl<'a, C, A> AdvertiserUpdateCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -27667,6 +27777,7 @@ impl<'a, C, A> AdvertiserGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// use dfareporting2d4::DimensionValueRequest; @@ -27677,9 +27788,9 @@ impl<'a, C, A> AdvertiserGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -27957,6 +28068,7 @@ impl<'a, C, A> DimensionValueQueryCall<'a, C, A> where C: BorrowMut DimensionValueQueryCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -28204,6 +28316,7 @@ impl<'a, C, A> FloodlightActivityGroupGetCall<'a, C, A> where C: BorrowMut FloodlightActivityGroupGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -28482,6 +28595,7 @@ impl<'a, C, A> FloodlightActivityGroupPatchCall<'a, C, A> where C: BorrowMut FloodlightActivityGroupPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -28828,6 +28942,7 @@ impl<'a, C, A> FloodlightActivityGroupListCall<'a, C, A> where C: BorrowMut FloodlightActivityGroupListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -29094,6 +29209,7 @@ impl<'a, C, A> FloodlightActivityGroupInsertCall<'a, C, A> where C: BorrowMut FloodlightActivityGroupInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -29360,6 +29476,7 @@ impl<'a, C, A> FloodlightActivityGroupUpdateCall<'a, C, A> where C: BorrowMut FloodlightActivityGroupUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -29595,6 +29712,7 @@ impl<'a, C, A> MetroListCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -29604,9 +29722,9 @@ impl<'a, C, A> MetroListCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -29932,6 +30050,7 @@ impl<'a, C, A> OrderListCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -29941,9 +30060,9 @@ impl<'a, C, A> OrderListCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30191,6 +30310,7 @@ impl<'a, C, A> OrderGetCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -30200,9 +30320,9 @@ impl<'a, C, A> OrderGetCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30438,6 +30558,7 @@ impl<'a, C, A> DirectorySiteContactGetCall<'a, C, A> where C: BorrowMut DirectorySiteContactGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30763,6 +30884,7 @@ impl<'a, C, A> DirectorySiteContactListCall<'a, C, A> where C: BorrowMut DirectorySiteContactListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30965,6 +31087,7 @@ impl<'a, C, A> UserProfileListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -30974,9 +31097,9 @@ impl<'a, C, A> UserProfileListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -31200,6 +31323,7 @@ impl<'a, C, A> UserProfileGetCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// use dfareporting2d4::Ad; @@ -31210,9 +31334,9 @@ impl<'a, C, A> UserProfileGetCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -31478,6 +31602,7 @@ impl<'a, C, A> AdPatchCall<'a, C, A> where C: BorrowMut, A: oauth /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// use dfareporting2d4::Ad; @@ -31488,9 +31613,9 @@ impl<'a, C, A> AdPatchCall<'a, C, A> where C: BorrowMut, A: oauth /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -31744,6 +31869,7 @@ impl<'a, C, A> AdInsertCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -31753,9 +31879,9 @@ impl<'a, C, A> AdInsertCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -32297,6 +32423,7 @@ impl<'a, C, A> AdListCall<'a, C, A> where C: BorrowMut, A: oauth2 /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -32306,9 +32433,9 @@ impl<'a, C, A> AdListCall<'a, C, A> where C: BorrowMut, A: oauth2 /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -32544,6 +32671,7 @@ impl<'a, C, A> AdGetCall<'a, C, A> where C: BorrowMut, A: oauth2: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// use dfareporting2d4::Ad; @@ -32554,9 +32682,9 @@ impl<'a, C, A> AdGetCall<'a, C, A> where C: BorrowMut, A: oauth2: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -32810,6 +32938,7 @@ impl<'a, C, A> AdUpdateCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -32819,9 +32948,9 @@ impl<'a, C, A> AdUpdateCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -33057,6 +33186,7 @@ impl<'a, C, A> AccountPermissionGetCall<'a, C, A> where C: BorrowMut AccountPermissionGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -33292,6 +33422,7 @@ impl<'a, C, A> AccountPermissionListCall<'a, C, A> where C: BorrowMut AccountPermissionListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -33527,6 +33658,7 @@ impl<'a, C, A> ConnectionTypeListCall<'a, C, A> where C: BorrowMut ConnectionTypeListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -33774,6 +33906,7 @@ impl<'a, C, A> ConnectionTypeGetCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -33783,9 +33916,9 @@ impl<'a, C, A> ConnectionTypeGetCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -34021,6 +34154,7 @@ impl<'a, C, A> AdvertiserGroupGetCall<'a, C, A> where C: BorrowMut AdvertiserGroupGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -34331,6 +34465,7 @@ impl<'a, C, A> AdvertiserGroupListCall<'a, C, A> where C: BorrowMut AdvertiserGroupListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -34597,6 +34732,7 @@ impl<'a, C, A> AdvertiserGroupInsertCall<'a, C, A> where C: BorrowMut AdvertiserGroupInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -34863,6 +34999,7 @@ impl<'a, C, A> AdvertiserGroupUpdateCall<'a, C, A> where C: BorrowMut AdvertiserGroupUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -35141,6 +35278,7 @@ impl<'a, C, A> AdvertiserGroupPatchCall<'a, C, A> where C: BorrowMut AdvertiserGroupPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -35377,6 +35515,7 @@ impl<'a, C, A> AdvertiserGroupDeleteCall<'a, C, A> where C: BorrowMut AdvertiserGroupDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -35643,6 +35782,7 @@ impl<'a, C, A> SiteInsertCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -35652,9 +35792,9 @@ impl<'a, C, A> SiteInsertCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -35890,6 +36030,7 @@ impl<'a, C, A> SiteGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -35899,9 +36040,9 @@ impl<'a, C, A> SiteGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -36314,6 +36455,7 @@ impl<'a, C, A> SiteListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// use dfareporting2d4::Site; @@ -36324,9 +36466,9 @@ impl<'a, C, A> SiteListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -36580,6 +36722,7 @@ impl<'a, C, A> SiteUpdateCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// use dfareporting2d4::Site; @@ -36590,9 +36733,9 @@ impl<'a, C, A> SiteUpdateCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -36858,6 +37001,7 @@ impl<'a, C, A> SitePatchCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -36867,9 +37011,9 @@ impl<'a, C, A> SitePatchCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -37105,6 +37249,7 @@ impl<'a, C, A> FloodlightActivityGetCall<'a, C, A> where C: BorrowMut FloodlightActivityGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -37502,6 +37647,7 @@ impl<'a, C, A> FloodlightActivityListCall<'a, C, A> where C: BorrowMut FloodlightActivityListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -37768,6 +37914,7 @@ impl<'a, C, A> FloodlightActivityInsertCall<'a, C, A> where C: BorrowMut FloodlightActivityInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -38004,6 +38151,7 @@ impl<'a, C, A> FloodlightActivityDeleteCall<'a, C, A> where C: BorrowMut FloodlightActivityDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -38282,6 +38430,7 @@ impl<'a, C, A> FloodlightActivityPatchCall<'a, C, A> where C: BorrowMut FloodlightActivityPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -38529,6 +38678,7 @@ impl<'a, C, A> FloodlightActivityGeneratetagCall<'a, C, A> where C: BorrowMut FloodlightActivityGeneratetagCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -38795,6 +38945,7 @@ impl<'a, C, A> FloodlightActivityUpdateCall<'a, C, A> where C: BorrowMut FloodlightActivityUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -39030,6 +39181,7 @@ impl<'a, C, A> RegionListCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// use dfareporting2d4::CreativeGroup; @@ -39040,9 +39192,9 @@ impl<'a, C, A> RegionListCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -39296,6 +39448,7 @@ impl<'a, C, A> CreativeGroupInsertCall<'a, C, A> where C: BorrowMut CreativeGroupInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -39543,6 +39696,7 @@ impl<'a, C, A> CreativeGroupGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// use dfareporting2d4::CreativeGroup; @@ -39553,9 +39707,9 @@ impl<'a, C, A> CreativeGroupGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -39809,6 +39963,7 @@ impl<'a, C, A> CreativeGroupUpdateCall<'a, C, A> where C: BorrowMut CreativeGroupUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -40146,6 +40301,7 @@ impl<'a, C, A> CreativeGroupListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// use dfareporting2d4::CreativeGroup; @@ -40156,9 +40312,9 @@ impl<'a, C, A> CreativeGroupListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -40424,6 +40580,7 @@ impl<'a, C, A> CreativeGroupPatchCall<'a, C, A> where C: BorrowMut CreativeGroupPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -40743,6 +40900,7 @@ impl<'a, C, A> TargetableRemarketingListListCall<'a, C, A> where C: BorrowMut TargetableRemarketingListListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -40990,6 +41148,7 @@ impl<'a, C, A> TargetableRemarketingListGetCall<'a, C, A> where C: BorrowMut TargetableRemarketingListGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -41268,6 +41427,7 @@ impl<'a, C, A> SubaccountPatchCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// use dfareporting2d4::Subaccount; @@ -41278,9 +41438,9 @@ impl<'a, C, A> SubaccountPatchCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -41534,6 +41694,7 @@ impl<'a, C, A> SubaccountInsertCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -41543,9 +41704,9 @@ impl<'a, C, A> SubaccountInsertCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -41844,6 +42005,7 @@ impl<'a, C, A> SubaccountListCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// use dfareporting2d4::Subaccount; @@ -41854,9 +42016,9 @@ impl<'a, C, A> SubaccountListCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -42110,6 +42272,7 @@ impl<'a, C, A> SubaccountUpdateCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -42119,9 +42282,9 @@ impl<'a, C, A> SubaccountUpdateCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -42357,6 +42520,7 @@ impl<'a, C, A> SubaccountGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -42366,9 +42530,9 @@ impl<'a, C, A> SubaccountGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -42604,6 +42768,7 @@ impl<'a, C, A> MobileCarrierGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -42613,9 +42778,9 @@ impl<'a, C, A> MobileCarrierGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -42839,6 +43004,7 @@ impl<'a, C, A> MobileCarrierListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -42848,9 +43014,9 @@ impl<'a, C, A> MobileCarrierListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -43086,6 +43252,7 @@ impl<'a, C, A> FloodlightConfigurationGetCall<'a, C, A> where C: BorrowMut FloodlightConfigurationGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -43352,6 +43519,7 @@ impl<'a, C, A> FloodlightConfigurationUpdateCall<'a, C, A> where C: BorrowMut FloodlightConfigurationUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -43630,6 +43798,7 @@ impl<'a, C, A> FloodlightConfigurationPatchCall<'a, C, A> where C: BorrowMut FloodlightConfigurationPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -43880,6 +44049,7 @@ impl<'a, C, A> FloodlightConfigurationListCall<'a, C, A> where C: BorrowMut FloodlightConfigurationListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -44115,6 +44285,7 @@ impl<'a, C, A> OperatingSystemListCall<'a, C, A> where C: BorrowMut OperatingSystemListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -44362,6 +44533,7 @@ impl<'a, C, A> OperatingSystemGetCall<'a, C, A> where C: BorrowMut OperatingSystemGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -44662,6 +44834,7 @@ impl<'a, C, A> FileListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -44671,9 +44844,9 @@ impl<'a, C, A> FileListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -44925,6 +45098,7 @@ impl<'a, C, A> FileGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -44934,9 +45108,9 @@ impl<'a, C, A> FileGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -45412,6 +45586,7 @@ impl<'a, C, A> PlacementGroupListCall<'a, C, A> where C: BorrowMut PlacementGroupListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -45678,6 +45853,7 @@ impl<'a, C, A> PlacementGroupUpdateCall<'a, C, A> where C: BorrowMut PlacementGroupUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -45944,6 +46120,7 @@ impl<'a, C, A> PlacementGroupInsertCall<'a, C, A> where C: BorrowMut PlacementGroupInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -46191,6 +46368,7 @@ impl<'a, C, A> PlacementGroupGetCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// use dfareporting2d4::PlacementGroup; @@ -46201,9 +46379,9 @@ impl<'a, C, A> PlacementGroupGetCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -46469,6 +46647,7 @@ impl<'a, C, A> PlacementGroupPatchCall<'a, C, A> where C: BorrowMut PlacementGroupPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -46833,6 +47012,7 @@ impl<'a, C, A> InventoryItemListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -46842,9 +47022,9 @@ impl<'a, C, A> InventoryItemListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -47092,6 +47272,7 @@ impl<'a, C, A> InventoryItemGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -47101,9 +47282,9 @@ impl<'a, C, A> InventoryItemGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -47339,6 +47520,7 @@ impl<'a, C, A> UserRolePermissionGetCall<'a, C, A> where C: BorrowMut UserRolePermissionGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -47589,6 +47771,7 @@ impl<'a, C, A> UserRolePermissionListCall<'a, C, A> where C: BorrowMut UserRolePermissionListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -47824,6 +48007,7 @@ impl<'a, C, A> AccountPermissionGroupListCall<'a, C, A> where C: BorrowMut AccountPermissionGroupListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -48071,6 +48255,7 @@ impl<'a, C, A> AccountPermissionGroupGetCall<'a, C, A> where C: BorrowMut AccountPermissionGroupGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -48381,6 +48566,7 @@ impl<'a, C, A> ContentCategoryListCall<'a, C, A> where C: BorrowMut ContentCategoryListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -48647,6 +48833,7 @@ impl<'a, C, A> ContentCategoryUpdateCall<'a, C, A> where C: BorrowMut ContentCategoryUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -48913,6 +49100,7 @@ impl<'a, C, A> ContentCategoryInsertCall<'a, C, A> where C: BorrowMut ContentCategoryInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -49149,6 +49337,7 @@ impl<'a, C, A> ContentCategoryDeleteCall<'a, C, A> where C: BorrowMut ContentCategoryDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -49396,6 +49585,7 @@ impl<'a, C, A> ContentCategoryGetCall<'a, C, A> where C: BorrowMut ContentCategoryGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -49674,6 +49864,7 @@ impl<'a, C, A> ContentCategoryPatchCall<'a, C, A> where C: BorrowMut ContentCategoryPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -49940,6 +50131,7 @@ impl<'a, C, A> CreativeUpdateCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// use dfareporting2d4::Creative; @@ -49950,9 +50142,9 @@ impl<'a, C, A> CreativeUpdateCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -50206,6 +50398,7 @@ impl<'a, C, A> CreativeInsertCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -50215,9 +50408,9 @@ impl<'a, C, A> CreativeInsertCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -50453,6 +50646,7 @@ impl<'a, C, A> CreativeGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -50462,9 +50656,9 @@ impl<'a, C, A> CreativeGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -50898,6 +51092,7 @@ impl<'a, C, A> CreativeListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// use dfareporting2d4::Creative; @@ -50908,9 +51103,9 @@ impl<'a, C, A> CreativeListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -51176,6 +51371,7 @@ impl<'a, C, A> CreativePatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -51185,9 +51381,9 @@ impl<'a, C, A> CreativePatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -51423,6 +51619,7 @@ impl<'a, C, A> CampaignGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// use dfareporting2d4::Campaign; @@ -51433,9 +51630,9 @@ impl<'a, C, A> CampaignGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -51713,6 +51910,7 @@ impl<'a, C, A> CampaignInsertCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// use dfareporting2d4::Campaign; @@ -51723,9 +51921,9 @@ impl<'a, C, A> CampaignInsertCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -51991,6 +52189,7 @@ impl<'a, C, A> CampaignPatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// use dfareporting2d4::Campaign; @@ -52001,9 +52200,9 @@ impl<'a, C, A> CampaignPatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -52257,6 +52456,7 @@ impl<'a, C, A> CampaignUpdateCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -52266,9 +52466,9 @@ impl<'a, C, A> CampaignUpdateCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -52660,6 +52860,7 @@ impl<'a, C, A> CampaignListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -52669,9 +52870,9 @@ impl<'a, C, A> CampaignListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -52896,6 +53097,7 @@ impl<'a, C, A> EventTagDeleteCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -52905,9 +53107,9 @@ impl<'a, C, A> EventTagDeleteCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -53257,6 +53459,7 @@ impl<'a, C, A> EventTagListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// use dfareporting2d4::EventTag; @@ -53267,9 +53470,9 @@ impl<'a, C, A> EventTagListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -53523,6 +53726,7 @@ impl<'a, C, A> EventTagInsertCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// use dfareporting2d4::EventTag; @@ -53533,9 +53737,9 @@ impl<'a, C, A> EventTagInsertCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -53801,6 +54005,7 @@ impl<'a, C, A> EventTagPatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// use dfareporting2d4::EventTag; @@ -53811,9 +54016,9 @@ impl<'a, C, A> EventTagPatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -54067,6 +54272,7 @@ impl<'a, C, A> EventTagUpdateCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -54076,9 +54282,9 @@ impl<'a, C, A> EventTagUpdateCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -54314,6 +54520,7 @@ impl<'a, C, A> EventTagGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -54323,9 +54530,9 @@ impl<'a, C, A> EventTagGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -54561,6 +54768,7 @@ impl<'a, C, A> RemarketingListGetCall<'a, C, A> where C: BorrowMut RemarketingListGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -54827,6 +55035,7 @@ impl<'a, C, A> RemarketingListUpdateCall<'a, C, A> where C: BorrowMut RemarketingListUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -55158,6 +55367,7 @@ impl<'a, C, A> RemarketingListListCall<'a, C, A> where C: BorrowMut RemarketingListListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -55436,6 +55646,7 @@ impl<'a, C, A> RemarketingListPatchCall<'a, C, A> where C: BorrowMut RemarketingListPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -55702,6 +55913,7 @@ impl<'a, C, A> RemarketingListInsertCall<'a, C, A> where C: BorrowMut RemarketingListInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -55994,6 +56206,7 @@ impl<'a, C, A> CityListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// use dfareporting2d4::PlacementStrategy; @@ -56004,9 +56217,9 @@ impl<'a, C, A> CityListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -56260,6 +56473,7 @@ impl<'a, C, A> PlacementStrategyUpdateCall<'a, C, A> where C: BorrowMut PlacementStrategyUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -56507,6 +56721,7 @@ impl<'a, C, A> PlacementStrategyGetCall<'a, C, A> where C: BorrowMut PlacementStrategyGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -56817,6 +57032,7 @@ impl<'a, C, A> PlacementStrategyListCall<'a, C, A> where C: BorrowMut PlacementStrategyListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -57053,6 +57269,7 @@ impl<'a, C, A> PlacementStrategyDeleteCall<'a, C, A> where C: BorrowMut PlacementStrategyDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -57319,6 +57536,7 @@ impl<'a, C, A> PlacementStrategyInsertCall<'a, C, A> where C: BorrowMut PlacementStrategyInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -57597,6 +57815,7 @@ impl<'a, C, A> PlacementStrategyPatchCall<'a, C, A> where C: BorrowMut PlacementStrategyPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -57922,6 +58141,7 @@ impl<'a, C, A> ProjectListCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -57931,9 +58151,9 @@ impl<'a, C, A> ProjectListCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -58169,6 +58389,7 @@ impl<'a, C, A> ProjectGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// use dfareporting2d4::DirectorySite; @@ -58179,9 +58400,9 @@ impl<'a, C, A> ProjectGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -58435,6 +58656,7 @@ impl<'a, C, A> DirectorySiteInsertCall<'a, C, A> where C: BorrowMut DirectorySiteInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -58829,6 +59051,7 @@ impl<'a, C, A> DirectorySiteListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -58838,9 +59061,9 @@ impl<'a, C, A> DirectorySiteListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -59076,6 +59299,7 @@ impl<'a, C, A> DirectorySiteGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// use dfareporting2d4::Size; @@ -59086,9 +59310,9 @@ impl<'a, C, A> DirectorySiteGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -59342,6 +59566,7 @@ impl<'a, C, A> SizeInsertCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -59351,9 +59576,9 @@ impl<'a, C, A> SizeInsertCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -59628,6 +59853,7 @@ impl<'a, C, A> SizeListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -59637,9 +59863,9 @@ impl<'a, C, A> SizeListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -59875,6 +60101,7 @@ impl<'a, C, A> SizeGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -59884,9 +60111,9 @@ impl<'a, C, A> SizeGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -60122,6 +60349,7 @@ impl<'a, C, A> AccountActiveAdSummaryGetCall<'a, C, A> where C: BorrowMut AccountActiveAdSummaryGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -60388,6 +60616,7 @@ impl<'a, C, A> AccountUserProfileUpdateCall<'a, C, A> where C: BorrowMut AccountUserProfileUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -60734,6 +60963,7 @@ impl<'a, C, A> AccountUserProfileListCall<'a, C, A> where C: BorrowMut AccountUserProfileListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -61000,6 +61230,7 @@ impl<'a, C, A> AccountUserProfileInsertCall<'a, C, A> where C: BorrowMut AccountUserProfileInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -61278,6 +61509,7 @@ impl<'a, C, A> AccountUserProfilePatchCall<'a, C, A> where C: BorrowMut AccountUserProfilePatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -61525,6 +61757,7 @@ impl<'a, C, A> AccountUserProfileGetCall<'a, C, A> where C: BorrowMut AccountUserProfileGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -61760,6 +61993,7 @@ impl<'a, C, A> CountryListCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -61769,9 +62003,9 @@ impl<'a, C, A> CountryListCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -62007,6 +62241,7 @@ impl<'a, C, A> CountryGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -62016,9 +62251,9 @@ impl<'a, C, A> CountryGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -62266,6 +62501,7 @@ impl<'a, C, A> OrderDocumentGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -62275,9 +62511,9 @@ impl<'a, C, A> OrderDocumentGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -62630,6 +62866,7 @@ impl<'a, C, A> OrderDocumentListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -62639,9 +62876,9 @@ impl<'a, C, A> OrderDocumentListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -62877,6 +63114,7 @@ impl<'a, C, A> PostalCodeGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -62886,9 +63124,9 @@ impl<'a, C, A> PostalCodeGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -63112,6 +63350,7 @@ impl<'a, C, A> PostalCodeListCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -63121,9 +63360,9 @@ impl<'a, C, A> PostalCodeListCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -63347,6 +63586,7 @@ impl<'a, C, A> BrowserListCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -63356,9 +63596,9 @@ impl<'a, C, A> BrowserListCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -63594,6 +63834,7 @@ impl<'a, C, A> AccountGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -63603,9 +63844,9 @@ impl<'a, C, A> AccountGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -63916,6 +64157,7 @@ impl<'a, C, A> AccountListCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// use dfareporting2d4::Account; @@ -63926,9 +64168,9 @@ impl<'a, C, A> AccountListCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -64182,6 +64424,7 @@ impl<'a, C, A> AccountUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// use dfareporting2d4::Account; @@ -64192,9 +64435,9 @@ impl<'a, C, A> AccountUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -64460,6 +64703,7 @@ impl<'a, C, A> AccountPatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// use dfareporting2d4::Placement; @@ -64470,9 +64714,9 @@ impl<'a, C, A> AccountPatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -64738,6 +64982,7 @@ impl<'a, C, A> PlacementPatchCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -64747,9 +64992,9 @@ impl<'a, C, A> PlacementPatchCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -65270,6 +65515,7 @@ impl<'a, C, A> PlacementListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// use dfareporting2d4::Placement; @@ -65280,9 +65526,9 @@ impl<'a, C, A> PlacementListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -65536,6 +65782,7 @@ impl<'a, C, A> PlacementInsertCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// use dfareporting2d4::Placement; @@ -65546,9 +65793,9 @@ impl<'a, C, A> PlacementInsertCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -65802,6 +66049,7 @@ impl<'a, C, A> PlacementUpdateCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d4 as dfareporting2d4; /// # #[test] fn egal() { @@ -65811,9 +66059,9 @@ impl<'a, C, A> PlacementUpdateCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -66079,6 +66327,7 @@ impl<'a, C, A> PlacementGeneratetagCall<'a, C, A> where C: BorrowMut PlacementGeneratetagCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/dfareporting2d5-cli/Cargo.toml b/gen/dfareporting2d5-cli/Cargo.toml index 71a49f3768..debdbb773f 100644 --- a/gen/dfareporting2d5-cli/Cargo.toml +++ b/gen/dfareporting2d5-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["dfareporting", "google", "cli"] [[bin]] name = "dfareporting2d5" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/dfareporting2d5/Cargo.toml b/gen/dfareporting2d5/Cargo.toml index e3ac32c29b..27c4d19100 100644 --- a/gen/dfareporting2d5/Cargo.toml +++ b/gen/dfareporting2d5/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["dfareporting", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/dfareporting2d5/README.md b/gen/dfareporting2d5/README.md index cf4a2caf0e..f47300d0f2 100644 --- a/gen/dfareporting2d5/README.md +++ b/gen/dfareporting2d5/README.md @@ -200,6 +200,7 @@ google-dfareporting2d5 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_dfareporting2d5 as dfareporting2d5; use dfareporting2d5::{Result, Error}; @@ -216,9 +217,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Dfareporting::new(hyper::Client::new(), auth); +let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! diff --git a/gen/dfareporting2d5/src/lib.rs b/gen/dfareporting2d5/src/lib.rs index fd6865681f..ad7e132af8 100644 --- a/gen/dfareporting2d5/src/lib.rs +++ b/gen/dfareporting2d5/src/lib.rs @@ -200,6 +200,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_dfareporting2d5 as dfareporting2d5; //! use dfareporting2d5::{Result, Error}; @@ -217,9 +218,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Dfareporting::new(hyper::Client::new(), auth); +//! let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! @@ -391,6 +392,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// use dfareporting2d5::{Result, Error}; @@ -408,9 +410,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7202,6 +7204,7 @@ impl ResponseResult for UserRole {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -7212,9 +7215,9 @@ impl ResponseResult for UserRole {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `batchinsert(...)` /// // to build up your call. @@ -7262,6 +7265,7 @@ impl<'a, C, A> ConversionMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -7272,9 +7276,9 @@ impl<'a, C, A> ConversionMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -7339,6 +7343,7 @@ impl<'a, C, A> UserRolePermissionGroupMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -7349,9 +7354,9 @@ impl<'a, C, A> UserRolePermissionGroupMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -7416,6 +7421,7 @@ impl<'a, C, A> PlatformTypeMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -7426,9 +7432,9 @@ impl<'a, C, A> PlatformTypeMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -7589,6 +7595,7 @@ impl<'a, C, A> CreativeFieldValueMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -7599,9 +7606,9 @@ impl<'a, C, A> CreativeFieldValueMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -7751,6 +7758,7 @@ impl<'a, C, A> CreativeFieldMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -7761,9 +7769,9 @@ impl<'a, C, A> CreativeFieldMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -7914,6 +7922,7 @@ impl<'a, C, A> UserRoleMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -7924,9 +7933,9 @@ impl<'a, C, A> UserRoleMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -7991,6 +8000,7 @@ impl<'a, C, A> OperatingSystemVersionMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -8001,9 +8011,9 @@ impl<'a, C, A> OperatingSystemVersionMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -8158,6 +8168,7 @@ impl<'a, C, A> LandingPageMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -8168,9 +8179,9 @@ impl<'a, C, A> LandingPageMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `insert(...)` /// // to build up your call. @@ -8220,6 +8231,7 @@ impl<'a, C, A> CreativeAssetMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -8230,9 +8242,9 @@ impl<'a, C, A> CreativeAssetMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `insert(...)` and `list(...)` /// // to build up your call. @@ -8304,6 +8316,7 @@ impl<'a, C, A> CampaignCreativeAssociationMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -8314,9 +8327,9 @@ impl<'a, C, A> CampaignCreativeAssociationMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -8391,6 +8404,7 @@ impl<'a, C, A> ChangeLogMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -8401,9 +8415,9 @@ impl<'a, C, A> ChangeLogMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -8491,6 +8505,7 @@ impl<'a, C, A> RemarketingListShareMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -8501,9 +8516,9 @@ impl<'a, C, A> RemarketingListShareMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `compatible_fields_query(...)`, `delete(...)`, `files_get(...)`, `files_list(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)`, `run(...)` and `update(...)` /// // to build up your call. @@ -8736,6 +8751,7 @@ impl<'a, C, A> ReportMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -8746,9 +8762,9 @@ impl<'a, C, A> ReportMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -8884,6 +8900,7 @@ impl<'a, C, A> AdvertiserMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -8894,9 +8911,9 @@ impl<'a, C, A> AdvertiserMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `query(...)` /// // to build up your call. @@ -8946,6 +8963,7 @@ impl<'a, C, A> DimensionValueMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -8956,9 +8974,9 @@ impl<'a, C, A> DimensionValueMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -9091,6 +9109,7 @@ impl<'a, C, A> FloodlightActivityGroupMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -9101,9 +9120,9 @@ impl<'a, C, A> FloodlightActivityGroupMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -9149,6 +9168,7 @@ impl<'a, C, A> MetroMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -9159,9 +9179,9 @@ impl<'a, C, A> MetroMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -9237,6 +9257,7 @@ impl<'a, C, A> OrderMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -9247,9 +9268,9 @@ impl<'a, C, A> OrderMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -9321,6 +9342,7 @@ impl<'a, C, A> DirectorySiteContactMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -9331,9 +9353,9 @@ impl<'a, C, A> DirectorySiteContactMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -9391,6 +9413,7 @@ impl<'a, C, A> UserProfileMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -9401,9 +9424,9 @@ impl<'a, C, A> UserProfileMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -9551,6 +9574,7 @@ impl<'a, C, A> AdMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -9561,9 +9585,9 @@ impl<'a, C, A> AdMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -9628,6 +9652,7 @@ impl<'a, C, A> AccountPermissionMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -9638,9 +9663,9 @@ impl<'a, C, A> AccountPermissionMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -9705,6 +9730,7 @@ impl<'a, C, A> ConnectionTypeMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -9715,9 +9741,9 @@ impl<'a, C, A> ConnectionTypeMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -9866,6 +9892,7 @@ impl<'a, C, A> AdvertiserGroupMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -9876,9 +9903,9 @@ impl<'a, C, A> AdvertiserGroupMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -10017,6 +10044,7 @@ impl<'a, C, A> SiteMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -10027,9 +10055,9 @@ impl<'a, C, A> SiteMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `generatetag(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -10203,6 +10231,7 @@ impl<'a, C, A> FloodlightActivityMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -10213,9 +10242,9 @@ impl<'a, C, A> FloodlightActivityMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -10261,6 +10290,7 @@ impl<'a, C, A> RegionMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -10271,9 +10301,9 @@ impl<'a, C, A> RegionMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -10405,6 +10435,7 @@ impl<'a, C, A> CreativeGroupMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -10415,9 +10446,9 @@ impl<'a, C, A> CreativeGroupMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -10490,6 +10521,7 @@ impl<'a, C, A> TargetableRemarketingListMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -10500,9 +10532,9 @@ impl<'a, C, A> TargetableRemarketingListMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -10632,6 +10664,7 @@ impl<'a, C, A> SubaccountMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -10642,9 +10675,9 @@ impl<'a, C, A> SubaccountMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -10709,6 +10742,7 @@ impl<'a, C, A> MobileCarrierMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -10719,9 +10753,9 @@ impl<'a, C, A> MobileCarrierMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -10827,6 +10861,7 @@ impl<'a, C, A> FloodlightConfigurationMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -10837,9 +10872,9 @@ impl<'a, C, A> FloodlightConfigurationMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -10904,6 +10939,7 @@ impl<'a, C, A> OperatingSystemMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -10914,9 +10950,9 @@ impl<'a, C, A> OperatingSystemMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -10986,6 +11022,7 @@ impl<'a, C, A> FileMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -10996,9 +11033,9 @@ impl<'a, C, A> FileMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -11141,6 +11178,7 @@ impl<'a, C, A> PlacementGroupMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -11151,9 +11189,9 @@ impl<'a, C, A> PlacementGroupMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11231,6 +11269,7 @@ impl<'a, C, A> InventoryItemMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -11241,9 +11280,9 @@ impl<'a, C, A> InventoryItemMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11309,6 +11348,7 @@ impl<'a, C, A> UserRolePermissionMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -11319,9 +11359,9 @@ impl<'a, C, A> UserRolePermissionMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11386,6 +11426,7 @@ impl<'a, C, A> AccountPermissionGroupMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -11396,9 +11437,9 @@ impl<'a, C, A> AccountPermissionGroupMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -11547,6 +11588,7 @@ impl<'a, C, A> ContentCategoryMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -11557,9 +11599,9 @@ impl<'a, C, A> ContentCategoryMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -11699,6 +11741,7 @@ impl<'a, C, A> CreativeMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -11709,9 +11752,9 @@ impl<'a, C, A> CreativeMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -11852,6 +11895,7 @@ impl<'a, C, A> CampaignMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -11862,9 +11906,9 @@ impl<'a, C, A> CampaignMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -12017,6 +12061,7 @@ impl<'a, C, A> EventTagMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -12027,9 +12072,9 @@ impl<'a, C, A> EventTagMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -12162,6 +12207,7 @@ impl<'a, C, A> RemarketingListMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -12172,9 +12218,9 @@ impl<'a, C, A> RemarketingListMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -12224,6 +12270,7 @@ impl<'a, C, A> CityMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -12234,9 +12281,9 @@ impl<'a, C, A> CityMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -12385,6 +12432,7 @@ impl<'a, C, A> PlacementStrategyMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -12395,9 +12443,9 @@ impl<'a, C, A> PlacementStrategyMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -12469,6 +12517,7 @@ impl<'a, C, A> ProjectMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -12479,9 +12528,9 @@ impl<'a, C, A> ProjectMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -12578,6 +12627,7 @@ impl<'a, C, A> DirectorySiteMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -12588,9 +12638,9 @@ impl<'a, C, A> DirectorySiteMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -12682,6 +12732,7 @@ impl<'a, C, A> DynamicTargetingKeyMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -12692,9 +12743,9 @@ impl<'a, C, A> DynamicTargetingKeyMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -12782,6 +12833,7 @@ impl<'a, C, A> SizeMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -12792,9 +12844,9 @@ impl<'a, C, A> SizeMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -12842,6 +12894,7 @@ impl<'a, C, A> AccountActiveAdSummaryMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -12852,9 +12905,9 @@ impl<'a, C, A> AccountActiveAdSummaryMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -12987,6 +13040,7 @@ impl<'a, C, A> AccountUserProfileMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -12997,9 +13051,9 @@ impl<'a, C, A> AccountUserProfileMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -13064,6 +13118,7 @@ impl<'a, C, A> CountryMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -13074,9 +13129,9 @@ impl<'a, C, A> CountryMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -13154,6 +13209,7 @@ impl<'a, C, A> OrderDocumentMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -13164,9 +13220,9 @@ impl<'a, C, A> OrderDocumentMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -13231,6 +13287,7 @@ impl<'a, C, A> PostalCodeMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -13241,9 +13298,9 @@ impl<'a, C, A> PostalCodeMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -13289,6 +13346,7 @@ impl<'a, C, A> BrowserMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -13299,9 +13357,9 @@ impl<'a, C, A> BrowserMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -13413,6 +13471,7 @@ impl<'a, C, A> AccountMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d5 as dfareporting2d5; /// @@ -13423,9 +13482,9 @@ impl<'a, C, A> AccountMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `generatetags(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -13599,6 +13658,7 @@ impl<'a, C, A> PlacementMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// use dfareporting2d5::ConversionsBatchInsertRequest; @@ -13609,9 +13669,9 @@ impl<'a, C, A> PlacementMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13865,6 +13925,7 @@ impl<'a, C, A> ConversionBatchinsertCall<'a, C, A> where C: BorrowMut ConversionBatchinsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14112,6 +14173,7 @@ impl<'a, C, A> UserRolePermissionGroupGetCall<'a, C, A> where C: BorrowMut UserRolePermissionGroupGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14347,6 +14409,7 @@ impl<'a, C, A> UserRolePermissionGroupListCall<'a, C, A> where C: BorrowMut UserRolePermissionGroupListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14594,6 +14657,7 @@ impl<'a, C, A> PlatformTypeGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -14603,9 +14667,9 @@ impl<'a, C, A> PlatformTypeGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14829,6 +14893,7 @@ impl<'a, C, A> PlatformTypeListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// use dfareporting2d5::CreativeFieldValue; @@ -14839,9 +14904,9 @@ impl<'a, C, A> PlatformTypeListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15119,6 +15184,7 @@ impl<'a, C, A> CreativeFieldValuePatchCall<'a, C, A> where C: BorrowMut CreativeFieldValuePatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15378,6 +15444,7 @@ impl<'a, C, A> CreativeFieldValueGetCall<'a, C, A> where C: BorrowMut CreativeFieldValueGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15626,6 +15693,7 @@ impl<'a, C, A> CreativeFieldValueDeleteCall<'a, C, A> where C: BorrowMut CreativeFieldValueDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15904,6 +15972,7 @@ impl<'a, C, A> CreativeFieldValueInsertCall<'a, C, A> where C: BorrowMut CreativeFieldValueInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16182,6 +16251,7 @@ impl<'a, C, A> CreativeFieldValueUpdateCall<'a, C, A> where C: BorrowMut CreativeFieldValueUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16504,6 +16574,7 @@ impl<'a, C, A> CreativeFieldValueListCall<'a, C, A> where C: BorrowMut CreativeFieldValueListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16770,6 +16841,7 @@ impl<'a, C, A> CreativeFieldUpdateCall<'a, C, A> where C: BorrowMut CreativeFieldUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17095,6 +17167,7 @@ impl<'a, C, A> CreativeFieldListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -17104,9 +17177,9 @@ impl<'a, C, A> CreativeFieldListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17331,6 +17404,7 @@ impl<'a, C, A> CreativeFieldDeleteCall<'a, C, A> where C: BorrowMut CreativeFieldDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17578,6 +17652,7 @@ impl<'a, C, A> CreativeFieldGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// use dfareporting2d5::CreativeField; @@ -17588,9 +17663,9 @@ impl<'a, C, A> CreativeFieldGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17844,6 +17919,7 @@ impl<'a, C, A> CreativeFieldInsertCall<'a, C, A> where C: BorrowMut CreativeFieldInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18122,6 +18198,7 @@ impl<'a, C, A> CreativeFieldPatchCall<'a, C, A> where C: BorrowMut CreativeFieldPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18388,6 +18465,7 @@ impl<'a, C, A> UserRoleInsertCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -18397,9 +18475,9 @@ impl<'a, C, A> UserRoleInsertCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18635,6 +18713,7 @@ impl<'a, C, A> UserRoleGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// use dfareporting2d5::UserRole; @@ -18645,9 +18724,9 @@ impl<'a, C, A> UserRoleGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18901,6 +18980,7 @@ impl<'a, C, A> UserRoleUpdateCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -18910,9 +18990,9 @@ impl<'a, C, A> UserRoleUpdateCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19137,6 +19217,7 @@ impl<'a, C, A> UserRoleDeleteCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// use dfareporting2d5::UserRole; @@ -19147,9 +19228,9 @@ impl<'a, C, A> UserRoleDeleteCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19415,6 +19496,7 @@ impl<'a, C, A> UserRolePatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -19424,9 +19506,9 @@ impl<'a, C, A> UserRolePatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19749,6 +19831,7 @@ impl<'a, C, A> UserRoleListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -19758,9 +19841,9 @@ impl<'a, C, A> UserRoleListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19996,6 +20079,7 @@ impl<'a, C, A> OperatingSystemVersionGetCall<'a, C, A> where C: BorrowMut OperatingSystemVersionGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20231,6 +20315,7 @@ impl<'a, C, A> OperatingSystemVersionListCall<'a, C, A> where C: BorrowMut OperatingSystemVersionListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20490,6 +20575,7 @@ impl<'a, C, A> LandingPageGetCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// use dfareporting2d5::LandingPage; @@ -20500,9 +20586,9 @@ impl<'a, C, A> LandingPageGetCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20768,6 +20854,7 @@ impl<'a, C, A> LandingPageUpdateCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -20777,9 +20864,9 @@ impl<'a, C, A> LandingPageUpdateCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21015,6 +21102,7 @@ impl<'a, C, A> LandingPageListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// use dfareporting2d5::LandingPage; @@ -21025,9 +21113,9 @@ impl<'a, C, A> LandingPageListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21293,6 +21381,7 @@ impl<'a, C, A> LandingPageInsertCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// use dfareporting2d5::LandingPage; @@ -21303,9 +21392,9 @@ impl<'a, C, A> LandingPageInsertCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21583,6 +21672,7 @@ impl<'a, C, A> LandingPagePatchCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -21592,9 +21682,9 @@ impl<'a, C, A> LandingPagePatchCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21831,6 +21921,7 @@ impl<'a, C, A> LandingPageDeleteCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// use dfareporting2d5::CreativeAssetMetadata; @@ -21842,9 +21933,9 @@ impl<'a, C, A> LandingPageDeleteCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -22223,6 +22314,7 @@ impl<'a, C, A> CreativeAssetInsertCall<'a, C, A> where C: BorrowMut CreativeAssetInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -22501,6 +22593,7 @@ impl<'a, C, A> CampaignCreativeAssociationInsertCall<'a, C, A> where C: BorrowMu /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -22510,9 +22603,9 @@ impl<'a, C, A> CampaignCreativeAssociationInsertCall<'a, C, A> where C: BorrowMu /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22784,6 +22877,7 @@ impl<'a, C, A> CampaignCreativeAssociationListCall<'a, C, A> where C: BorrowMut< /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -22793,9 +22887,9 @@ impl<'a, C, A> CampaignCreativeAssociationListCall<'a, C, A> where C: BorrowMut< /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23148,6 +23242,7 @@ impl<'a, C, A> ChangeLogListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -23157,9 +23252,9 @@ impl<'a, C, A> ChangeLogListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23395,6 +23490,7 @@ impl<'a, C, A> ChangeLogGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -23404,9 +23500,9 @@ impl<'a, C, A> ChangeLogGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23642,6 +23738,7 @@ impl<'a, C, A> RemarketingListShareGetCall<'a, C, A> where C: BorrowMut RemarketingListShareGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23920,6 +24017,7 @@ impl<'a, C, A> RemarketingListSharePatchCall<'a, C, A> where C: BorrowMut RemarketingListSharePatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24186,6 +24284,7 @@ impl<'a, C, A> RemarketingListShareUpdateCall<'a, C, A> where C: BorrowMut RemarketingListShareUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -24445,6 +24544,7 @@ impl<'a, C, A> ReportRunCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// use dfareporting2d5::Report; @@ -24455,9 +24555,9 @@ impl<'a, C, A> ReportRunCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24723,6 +24823,7 @@ impl<'a, C, A> ReportPatchCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -24732,9 +24833,9 @@ impl<'a, C, A> ReportPatchCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25018,6 +25119,7 @@ impl<'a, C, A> ReportFileListCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// use dfareporting2d5::Report; @@ -25028,9 +25130,9 @@ impl<'a, C, A> ReportFileListCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -25284,6 +25386,7 @@ impl<'a, C, A> ReportInsertCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// use dfareporting2d5::Report; @@ -25294,9 +25397,9 @@ impl<'a, C, A> ReportInsertCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -25562,6 +25665,7 @@ impl<'a, C, A> ReportUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// use dfareporting2d5::Report; @@ -25572,9 +25676,9 @@ impl<'a, C, A> ReportUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -25828,6 +25932,7 @@ impl<'a, C, A> ReportCompatibleFieldQueryCall<'a, C, A> where C: BorrowMut ReportCompatibleFieldQueryCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -26080,6 +26185,7 @@ impl<'a, C, A> ReportGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -26089,9 +26195,9 @@ impl<'a, C, A> ReportGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -26355,6 +26461,7 @@ impl<'a, C, A> ReportFileGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -26364,9 +26471,9 @@ impl<'a, C, A> ReportFileGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -26591,6 +26698,7 @@ impl<'a, C, A> ReportDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -26600,9 +26708,9 @@ impl<'a, C, A> ReportDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -26886,6 +26994,7 @@ impl<'a, C, A> ReportListCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// use dfareporting2d5::Advertiser; @@ -26896,9 +27005,9 @@ impl<'a, C, A> ReportListCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -27152,6 +27261,7 @@ impl<'a, C, A> AdvertiserInsertCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// use dfareporting2d5::Advertiser; @@ -27162,9 +27272,9 @@ impl<'a, C, A> AdvertiserInsertCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -27430,6 +27540,7 @@ impl<'a, C, A> AdvertiserPatchCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -27439,9 +27550,9 @@ impl<'a, C, A> AdvertiserPatchCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -27818,6 +27929,7 @@ impl<'a, C, A> AdvertiserListCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// use dfareporting2d5::Advertiser; @@ -27828,9 +27940,9 @@ impl<'a, C, A> AdvertiserListCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -28084,6 +28196,7 @@ impl<'a, C, A> AdvertiserUpdateCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -28093,9 +28206,9 @@ impl<'a, C, A> AdvertiserUpdateCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -28331,6 +28444,7 @@ impl<'a, C, A> AdvertiserGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// use dfareporting2d5::DimensionValueRequest; @@ -28341,9 +28455,9 @@ impl<'a, C, A> AdvertiserGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -28621,6 +28735,7 @@ impl<'a, C, A> DimensionValueQueryCall<'a, C, A> where C: BorrowMut DimensionValueQueryCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -28868,6 +28983,7 @@ impl<'a, C, A> FloodlightActivityGroupGetCall<'a, C, A> where C: BorrowMut FloodlightActivityGroupGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -29146,6 +29262,7 @@ impl<'a, C, A> FloodlightActivityGroupPatchCall<'a, C, A> where C: BorrowMut FloodlightActivityGroupPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -29492,6 +29609,7 @@ impl<'a, C, A> FloodlightActivityGroupListCall<'a, C, A> where C: BorrowMut FloodlightActivityGroupListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -29758,6 +29876,7 @@ impl<'a, C, A> FloodlightActivityGroupInsertCall<'a, C, A> where C: BorrowMut FloodlightActivityGroupInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -30024,6 +30143,7 @@ impl<'a, C, A> FloodlightActivityGroupUpdateCall<'a, C, A> where C: BorrowMut FloodlightActivityGroupUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30259,6 +30379,7 @@ impl<'a, C, A> MetroListCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -30268,9 +30389,9 @@ impl<'a, C, A> MetroListCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30596,6 +30717,7 @@ impl<'a, C, A> OrderListCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -30605,9 +30727,9 @@ impl<'a, C, A> OrderListCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30855,6 +30977,7 @@ impl<'a, C, A> OrderGetCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -30864,9 +30987,9 @@ impl<'a, C, A> OrderGetCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -31102,6 +31225,7 @@ impl<'a, C, A> DirectorySiteContactGetCall<'a, C, A> where C: BorrowMut DirectorySiteContactGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -31427,6 +31551,7 @@ impl<'a, C, A> DirectorySiteContactListCall<'a, C, A> where C: BorrowMut DirectorySiteContactListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -31629,6 +31754,7 @@ impl<'a, C, A> UserProfileListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -31638,9 +31764,9 @@ impl<'a, C, A> UserProfileListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -31864,6 +31990,7 @@ impl<'a, C, A> UserProfileGetCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// use dfareporting2d5::Ad; @@ -31874,9 +32001,9 @@ impl<'a, C, A> UserProfileGetCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -32142,6 +32269,7 @@ impl<'a, C, A> AdPatchCall<'a, C, A> where C: BorrowMut, A: oauth /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// use dfareporting2d5::Ad; @@ -32152,9 +32280,9 @@ impl<'a, C, A> AdPatchCall<'a, C, A> where C: BorrowMut, A: oauth /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -32408,6 +32536,7 @@ impl<'a, C, A> AdInsertCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -32417,9 +32546,9 @@ impl<'a, C, A> AdInsertCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -32961,6 +33090,7 @@ impl<'a, C, A> AdListCall<'a, C, A> where C: BorrowMut, A: oauth2 /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -32970,9 +33100,9 @@ impl<'a, C, A> AdListCall<'a, C, A> where C: BorrowMut, A: oauth2 /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -33208,6 +33338,7 @@ impl<'a, C, A> AdGetCall<'a, C, A> where C: BorrowMut, A: oauth2: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// use dfareporting2d5::Ad; @@ -33218,9 +33349,9 @@ impl<'a, C, A> AdGetCall<'a, C, A> where C: BorrowMut, A: oauth2: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -33474,6 +33605,7 @@ impl<'a, C, A> AdUpdateCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -33483,9 +33615,9 @@ impl<'a, C, A> AdUpdateCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -33721,6 +33853,7 @@ impl<'a, C, A> AccountPermissionGetCall<'a, C, A> where C: BorrowMut AccountPermissionGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -33956,6 +34089,7 @@ impl<'a, C, A> AccountPermissionListCall<'a, C, A> where C: BorrowMut AccountPermissionListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -34191,6 +34325,7 @@ impl<'a, C, A> ConnectionTypeListCall<'a, C, A> where C: BorrowMut ConnectionTypeListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -34438,6 +34573,7 @@ impl<'a, C, A> ConnectionTypeGetCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -34447,9 +34583,9 @@ impl<'a, C, A> ConnectionTypeGetCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -34685,6 +34821,7 @@ impl<'a, C, A> AdvertiserGroupGetCall<'a, C, A> where C: BorrowMut AdvertiserGroupGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -34995,6 +35132,7 @@ impl<'a, C, A> AdvertiserGroupListCall<'a, C, A> where C: BorrowMut AdvertiserGroupListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -35261,6 +35399,7 @@ impl<'a, C, A> AdvertiserGroupInsertCall<'a, C, A> where C: BorrowMut AdvertiserGroupInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -35527,6 +35666,7 @@ impl<'a, C, A> AdvertiserGroupUpdateCall<'a, C, A> where C: BorrowMut AdvertiserGroupUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -35805,6 +35945,7 @@ impl<'a, C, A> AdvertiserGroupPatchCall<'a, C, A> where C: BorrowMut AdvertiserGroupPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -36041,6 +36182,7 @@ impl<'a, C, A> AdvertiserGroupDeleteCall<'a, C, A> where C: BorrowMut AdvertiserGroupDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -36307,6 +36449,7 @@ impl<'a, C, A> SiteInsertCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -36316,9 +36459,9 @@ impl<'a, C, A> SiteInsertCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -36554,6 +36697,7 @@ impl<'a, C, A> SiteGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -36563,9 +36707,9 @@ impl<'a, C, A> SiteGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -36978,6 +37122,7 @@ impl<'a, C, A> SiteListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// use dfareporting2d5::Site; @@ -36988,9 +37133,9 @@ impl<'a, C, A> SiteListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -37244,6 +37389,7 @@ impl<'a, C, A> SiteUpdateCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// use dfareporting2d5::Site; @@ -37254,9 +37400,9 @@ impl<'a, C, A> SiteUpdateCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -37522,6 +37668,7 @@ impl<'a, C, A> SitePatchCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -37531,9 +37678,9 @@ impl<'a, C, A> SitePatchCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -37769,6 +37916,7 @@ impl<'a, C, A> FloodlightActivityGetCall<'a, C, A> where C: BorrowMut FloodlightActivityGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -38166,6 +38314,7 @@ impl<'a, C, A> FloodlightActivityListCall<'a, C, A> where C: BorrowMut FloodlightActivityListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -38432,6 +38581,7 @@ impl<'a, C, A> FloodlightActivityInsertCall<'a, C, A> where C: BorrowMut FloodlightActivityInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -38668,6 +38818,7 @@ impl<'a, C, A> FloodlightActivityDeleteCall<'a, C, A> where C: BorrowMut FloodlightActivityDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -38946,6 +39097,7 @@ impl<'a, C, A> FloodlightActivityPatchCall<'a, C, A> where C: BorrowMut FloodlightActivityPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -39193,6 +39345,7 @@ impl<'a, C, A> FloodlightActivityGeneratetagCall<'a, C, A> where C: BorrowMut FloodlightActivityGeneratetagCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -39459,6 +39612,7 @@ impl<'a, C, A> FloodlightActivityUpdateCall<'a, C, A> where C: BorrowMut FloodlightActivityUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -39694,6 +39848,7 @@ impl<'a, C, A> RegionListCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// use dfareporting2d5::CreativeGroup; @@ -39704,9 +39859,9 @@ impl<'a, C, A> RegionListCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -39960,6 +40115,7 @@ impl<'a, C, A> CreativeGroupInsertCall<'a, C, A> where C: BorrowMut CreativeGroupInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -40207,6 +40363,7 @@ impl<'a, C, A> CreativeGroupGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// use dfareporting2d5::CreativeGroup; @@ -40217,9 +40374,9 @@ impl<'a, C, A> CreativeGroupGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -40473,6 +40630,7 @@ impl<'a, C, A> CreativeGroupUpdateCall<'a, C, A> where C: BorrowMut CreativeGroupUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -40810,6 +40968,7 @@ impl<'a, C, A> CreativeGroupListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// use dfareporting2d5::CreativeGroup; @@ -40820,9 +40979,9 @@ impl<'a, C, A> CreativeGroupListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -41088,6 +41247,7 @@ impl<'a, C, A> CreativeGroupPatchCall<'a, C, A> where C: BorrowMut CreativeGroupPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -41407,6 +41567,7 @@ impl<'a, C, A> TargetableRemarketingListListCall<'a, C, A> where C: BorrowMut TargetableRemarketingListListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -41654,6 +41815,7 @@ impl<'a, C, A> TargetableRemarketingListGetCall<'a, C, A> where C: BorrowMut TargetableRemarketingListGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -41932,6 +42094,7 @@ impl<'a, C, A> SubaccountPatchCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// use dfareporting2d5::Subaccount; @@ -41942,9 +42105,9 @@ impl<'a, C, A> SubaccountPatchCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -42198,6 +42361,7 @@ impl<'a, C, A> SubaccountInsertCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// use dfareporting2d5::Subaccount; @@ -42208,9 +42372,9 @@ impl<'a, C, A> SubaccountInsertCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -42464,6 +42628,7 @@ impl<'a, C, A> SubaccountUpdateCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -42473,9 +42638,9 @@ impl<'a, C, A> SubaccountUpdateCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -42774,6 +42939,7 @@ impl<'a, C, A> SubaccountListCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -42783,9 +42949,9 @@ impl<'a, C, A> SubaccountListCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -43021,6 +43187,7 @@ impl<'a, C, A> SubaccountGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -43030,9 +43197,9 @@ impl<'a, C, A> SubaccountGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -43268,6 +43435,7 @@ impl<'a, C, A> MobileCarrierGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -43277,9 +43445,9 @@ impl<'a, C, A> MobileCarrierGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -43503,6 +43671,7 @@ impl<'a, C, A> MobileCarrierListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -43512,9 +43681,9 @@ impl<'a, C, A> MobileCarrierListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -43750,6 +43919,7 @@ impl<'a, C, A> FloodlightConfigurationGetCall<'a, C, A> where C: BorrowMut FloodlightConfigurationGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -44016,6 +44186,7 @@ impl<'a, C, A> FloodlightConfigurationUpdateCall<'a, C, A> where C: BorrowMut FloodlightConfigurationUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -44294,6 +44465,7 @@ impl<'a, C, A> FloodlightConfigurationPatchCall<'a, C, A> where C: BorrowMut FloodlightConfigurationPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -44544,6 +44716,7 @@ impl<'a, C, A> FloodlightConfigurationListCall<'a, C, A> where C: BorrowMut FloodlightConfigurationListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -44779,6 +44952,7 @@ impl<'a, C, A> OperatingSystemListCall<'a, C, A> where C: BorrowMut OperatingSystemListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -45026,6 +45200,7 @@ impl<'a, C, A> OperatingSystemGetCall<'a, C, A> where C: BorrowMut OperatingSystemGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -45326,6 +45501,7 @@ impl<'a, C, A> FileListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -45335,9 +45511,9 @@ impl<'a, C, A> FileListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -45589,6 +45765,7 @@ impl<'a, C, A> FileGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -45598,9 +45775,9 @@ impl<'a, C, A> FileGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -46076,6 +46253,7 @@ impl<'a, C, A> PlacementGroupListCall<'a, C, A> where C: BorrowMut PlacementGroupListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -46342,6 +46520,7 @@ impl<'a, C, A> PlacementGroupUpdateCall<'a, C, A> where C: BorrowMut PlacementGroupUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -46608,6 +46787,7 @@ impl<'a, C, A> PlacementGroupInsertCall<'a, C, A> where C: BorrowMut PlacementGroupInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -46855,6 +47035,7 @@ impl<'a, C, A> PlacementGroupGetCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// use dfareporting2d5::PlacementGroup; @@ -46865,9 +47046,9 @@ impl<'a, C, A> PlacementGroupGetCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -47133,6 +47314,7 @@ impl<'a, C, A> PlacementGroupPatchCall<'a, C, A> where C: BorrowMut PlacementGroupPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -47497,6 +47679,7 @@ impl<'a, C, A> InventoryItemListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -47506,9 +47689,9 @@ impl<'a, C, A> InventoryItemListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -47756,6 +47939,7 @@ impl<'a, C, A> InventoryItemGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -47765,9 +47949,9 @@ impl<'a, C, A> InventoryItemGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -48003,6 +48187,7 @@ impl<'a, C, A> UserRolePermissionGetCall<'a, C, A> where C: BorrowMut UserRolePermissionGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -48253,6 +48438,7 @@ impl<'a, C, A> UserRolePermissionListCall<'a, C, A> where C: BorrowMut UserRolePermissionListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -48488,6 +48674,7 @@ impl<'a, C, A> AccountPermissionGroupListCall<'a, C, A> where C: BorrowMut AccountPermissionGroupListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -48735,6 +48922,7 @@ impl<'a, C, A> AccountPermissionGroupGetCall<'a, C, A> where C: BorrowMut AccountPermissionGroupGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -49045,6 +49233,7 @@ impl<'a, C, A> ContentCategoryListCall<'a, C, A> where C: BorrowMut ContentCategoryListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -49311,6 +49500,7 @@ impl<'a, C, A> ContentCategoryUpdateCall<'a, C, A> where C: BorrowMut ContentCategoryUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -49577,6 +49767,7 @@ impl<'a, C, A> ContentCategoryInsertCall<'a, C, A> where C: BorrowMut ContentCategoryInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -49813,6 +50004,7 @@ impl<'a, C, A> ContentCategoryDeleteCall<'a, C, A> where C: BorrowMut ContentCategoryDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -50060,6 +50252,7 @@ impl<'a, C, A> ContentCategoryGetCall<'a, C, A> where C: BorrowMut ContentCategoryGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -50338,6 +50531,7 @@ impl<'a, C, A> ContentCategoryPatchCall<'a, C, A> where C: BorrowMut ContentCategoryPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -50604,6 +50798,7 @@ impl<'a, C, A> CreativeUpdateCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// use dfareporting2d5::Creative; @@ -50614,9 +50809,9 @@ impl<'a, C, A> CreativeUpdateCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -50870,6 +51065,7 @@ impl<'a, C, A> CreativeInsertCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -50879,9 +51075,9 @@ impl<'a, C, A> CreativeInsertCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -51117,6 +51313,7 @@ impl<'a, C, A> CreativeGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -51126,9 +51323,9 @@ impl<'a, C, A> CreativeGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -51562,6 +51759,7 @@ impl<'a, C, A> CreativeListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// use dfareporting2d5::Creative; @@ -51572,9 +51770,9 @@ impl<'a, C, A> CreativeListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -51840,6 +52038,7 @@ impl<'a, C, A> CreativePatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -51849,9 +52048,9 @@ impl<'a, C, A> CreativePatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -52087,6 +52286,7 @@ impl<'a, C, A> CampaignGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// use dfareporting2d5::Campaign; @@ -52097,9 +52297,9 @@ impl<'a, C, A> CampaignGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -52377,6 +52577,7 @@ impl<'a, C, A> CampaignInsertCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// use dfareporting2d5::Campaign; @@ -52387,9 +52588,9 @@ impl<'a, C, A> CampaignInsertCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -52655,6 +52856,7 @@ impl<'a, C, A> CampaignPatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// use dfareporting2d5::Campaign; @@ -52665,9 +52867,9 @@ impl<'a, C, A> CampaignPatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -52921,6 +53123,7 @@ impl<'a, C, A> CampaignUpdateCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -52930,9 +53133,9 @@ impl<'a, C, A> CampaignUpdateCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -53324,6 +53527,7 @@ impl<'a, C, A> CampaignListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -53333,9 +53537,9 @@ impl<'a, C, A> CampaignListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -53560,6 +53764,7 @@ impl<'a, C, A> EventTagDeleteCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -53569,9 +53774,9 @@ impl<'a, C, A> EventTagDeleteCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -53921,6 +54126,7 @@ impl<'a, C, A> EventTagListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// use dfareporting2d5::EventTag; @@ -53931,9 +54137,9 @@ impl<'a, C, A> EventTagListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -54187,6 +54393,7 @@ impl<'a, C, A> EventTagInsertCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// use dfareporting2d5::EventTag; @@ -54197,9 +54404,9 @@ impl<'a, C, A> EventTagInsertCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -54465,6 +54672,7 @@ impl<'a, C, A> EventTagPatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// use dfareporting2d5::EventTag; @@ -54475,9 +54683,9 @@ impl<'a, C, A> EventTagPatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -54731,6 +54939,7 @@ impl<'a, C, A> EventTagUpdateCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -54740,9 +54949,9 @@ impl<'a, C, A> EventTagUpdateCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -54978,6 +55187,7 @@ impl<'a, C, A> EventTagGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -54987,9 +55197,9 @@ impl<'a, C, A> EventTagGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -55225,6 +55435,7 @@ impl<'a, C, A> RemarketingListGetCall<'a, C, A> where C: BorrowMut RemarketingListGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -55491,6 +55702,7 @@ impl<'a, C, A> RemarketingListUpdateCall<'a, C, A> where C: BorrowMut RemarketingListUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -55822,6 +56034,7 @@ impl<'a, C, A> RemarketingListListCall<'a, C, A> where C: BorrowMut RemarketingListListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -56100,6 +56313,7 @@ impl<'a, C, A> RemarketingListPatchCall<'a, C, A> where C: BorrowMut RemarketingListPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -56366,6 +56580,7 @@ impl<'a, C, A> RemarketingListInsertCall<'a, C, A> where C: BorrowMut RemarketingListInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -56658,6 +56873,7 @@ impl<'a, C, A> CityListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// use dfareporting2d5::PlacementStrategy; @@ -56668,9 +56884,9 @@ impl<'a, C, A> CityListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -56924,6 +57140,7 @@ impl<'a, C, A> PlacementStrategyUpdateCall<'a, C, A> where C: BorrowMut PlacementStrategyUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -57171,6 +57388,7 @@ impl<'a, C, A> PlacementStrategyGetCall<'a, C, A> where C: BorrowMut PlacementStrategyGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -57481,6 +57699,7 @@ impl<'a, C, A> PlacementStrategyListCall<'a, C, A> where C: BorrowMut PlacementStrategyListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -57717,6 +57936,7 @@ impl<'a, C, A> PlacementStrategyDeleteCall<'a, C, A> where C: BorrowMut PlacementStrategyDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -57983,6 +58203,7 @@ impl<'a, C, A> PlacementStrategyInsertCall<'a, C, A> where C: BorrowMut PlacementStrategyInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -58261,6 +58482,7 @@ impl<'a, C, A> PlacementStrategyPatchCall<'a, C, A> where C: BorrowMut PlacementStrategyPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -58586,6 +58808,7 @@ impl<'a, C, A> ProjectListCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -58595,9 +58818,9 @@ impl<'a, C, A> ProjectListCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -58833,6 +59056,7 @@ impl<'a, C, A> ProjectGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// use dfareporting2d5::DirectorySite; @@ -58843,9 +59067,9 @@ impl<'a, C, A> ProjectGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -59099,6 +59323,7 @@ impl<'a, C, A> DirectorySiteInsertCall<'a, C, A> where C: BorrowMut DirectorySiteInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -59493,6 +59718,7 @@ impl<'a, C, A> DirectorySiteListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -59502,9 +59728,9 @@ impl<'a, C, A> DirectorySiteListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -59740,6 +59966,7 @@ impl<'a, C, A> DirectorySiteGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -59749,9 +59976,9 @@ impl<'a, C, A> DirectorySiteGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -60000,6 +60227,7 @@ impl<'a, C, A> DynamicTargetingKeyDeleteCall<'a, C, A> where C: BorrowMut DynamicTargetingKeyDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -60286,6 +60514,7 @@ impl<'a, C, A> DynamicTargetingKeyListCall<'a, C, A> where C: BorrowMut DynamicTargetingKeyListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -60552,6 +60781,7 @@ impl<'a, C, A> DynamicTargetingKeyInsertCall<'a, C, A> where C: BorrowMut DynamicTargetingKeyInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -60818,6 +61048,7 @@ impl<'a, C, A> SizeInsertCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -60827,9 +61058,9 @@ impl<'a, C, A> SizeInsertCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -61104,6 +61335,7 @@ impl<'a, C, A> SizeListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -61113,9 +61345,9 @@ impl<'a, C, A> SizeListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -61351,6 +61583,7 @@ impl<'a, C, A> SizeGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -61360,9 +61593,9 @@ impl<'a, C, A> SizeGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -61598,6 +61831,7 @@ impl<'a, C, A> AccountActiveAdSummaryGetCall<'a, C, A> where C: BorrowMut AccountActiveAdSummaryGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -61864,6 +62098,7 @@ impl<'a, C, A> AccountUserProfileUpdateCall<'a, C, A> where C: BorrowMut AccountUserProfileUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -62210,6 +62445,7 @@ impl<'a, C, A> AccountUserProfileListCall<'a, C, A> where C: BorrowMut AccountUserProfileListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -62476,6 +62712,7 @@ impl<'a, C, A> AccountUserProfileInsertCall<'a, C, A> where C: BorrowMut AccountUserProfileInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -62754,6 +62991,7 @@ impl<'a, C, A> AccountUserProfilePatchCall<'a, C, A> where C: BorrowMut AccountUserProfilePatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -63001,6 +63239,7 @@ impl<'a, C, A> AccountUserProfileGetCall<'a, C, A> where C: BorrowMut AccountUserProfileGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -63236,6 +63475,7 @@ impl<'a, C, A> CountryListCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -63245,9 +63485,9 @@ impl<'a, C, A> CountryListCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -63483,6 +63723,7 @@ impl<'a, C, A> CountryGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -63492,9 +63733,9 @@ impl<'a, C, A> CountryGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -63742,6 +63983,7 @@ impl<'a, C, A> OrderDocumentGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -63751,9 +63993,9 @@ impl<'a, C, A> OrderDocumentGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -64106,6 +64348,7 @@ impl<'a, C, A> OrderDocumentListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -64115,9 +64358,9 @@ impl<'a, C, A> OrderDocumentListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -64353,6 +64596,7 @@ impl<'a, C, A> PostalCodeGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -64362,9 +64606,9 @@ impl<'a, C, A> PostalCodeGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -64588,6 +64832,7 @@ impl<'a, C, A> PostalCodeListCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -64597,9 +64842,9 @@ impl<'a, C, A> PostalCodeListCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -64823,6 +65068,7 @@ impl<'a, C, A> BrowserListCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -64832,9 +65078,9 @@ impl<'a, C, A> BrowserListCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -65070,6 +65316,7 @@ impl<'a, C, A> AccountGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -65079,9 +65326,9 @@ impl<'a, C, A> AccountGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -65392,6 +65639,7 @@ impl<'a, C, A> AccountListCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// use dfareporting2d5::Account; @@ -65402,9 +65650,9 @@ impl<'a, C, A> AccountListCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -65658,6 +65906,7 @@ impl<'a, C, A> AccountUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// use dfareporting2d5::Account; @@ -65668,9 +65917,9 @@ impl<'a, C, A> AccountUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -65936,6 +66185,7 @@ impl<'a, C, A> AccountPatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// use dfareporting2d5::Placement; @@ -65946,9 +66196,9 @@ impl<'a, C, A> AccountPatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -66214,6 +66464,7 @@ impl<'a, C, A> PlacementPatchCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -66223,9 +66474,9 @@ impl<'a, C, A> PlacementPatchCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -66746,6 +66997,7 @@ impl<'a, C, A> PlacementListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// use dfareporting2d5::Placement; @@ -66756,9 +67008,9 @@ impl<'a, C, A> PlacementListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -67012,6 +67264,7 @@ impl<'a, C, A> PlacementInsertCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// use dfareporting2d5::Placement; @@ -67022,9 +67275,9 @@ impl<'a, C, A> PlacementInsertCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -67278,6 +67531,7 @@ impl<'a, C, A> PlacementUpdateCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d5 as dfareporting2d5; /// # #[test] fn egal() { @@ -67287,9 +67541,9 @@ impl<'a, C, A> PlacementUpdateCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -67555,6 +67809,7 @@ impl<'a, C, A> PlacementGeneratetagCall<'a, C, A> where C: BorrowMut PlacementGeneratetagCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/dfareporting2d6-cli/Cargo.toml b/gen/dfareporting2d6-cli/Cargo.toml index db2ed10aa0..2b6f2f8253 100644 --- a/gen/dfareporting2d6-cli/Cargo.toml +++ b/gen/dfareporting2d6-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["dfareporting", "google", "cli"] [[bin]] name = "dfareporting2d6" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/dfareporting2d6/Cargo.toml b/gen/dfareporting2d6/Cargo.toml index 3c291240bc..0e947f19c1 100644 --- a/gen/dfareporting2d6/Cargo.toml +++ b/gen/dfareporting2d6/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["dfareporting", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/dfareporting2d6/README.md b/gen/dfareporting2d6/README.md index 0a8242945e..9beed2805e 100644 --- a/gen/dfareporting2d6/README.md +++ b/gen/dfareporting2d6/README.md @@ -204,6 +204,7 @@ google-dfareporting2d6 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_dfareporting2d6 as dfareporting2d6; use dfareporting2d6::{Result, Error}; @@ -220,9 +221,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Dfareporting::new(hyper::Client::new(), auth); +let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! diff --git a/gen/dfareporting2d6/src/lib.rs b/gen/dfareporting2d6/src/lib.rs index f7d9863bb3..07bc555c6f 100644 --- a/gen/dfareporting2d6/src/lib.rs +++ b/gen/dfareporting2d6/src/lib.rs @@ -204,6 +204,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_dfareporting2d6 as dfareporting2d6; //! use dfareporting2d6::{Result, Error}; @@ -221,9 +222,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Dfareporting::new(hyper::Client::new(), auth); +//! let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! @@ -395,6 +396,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// use dfareporting2d6::{Result, Error}; @@ -412,9 +414,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7414,6 +7416,7 @@ impl ResponseResult for UserRole {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -7424,9 +7427,9 @@ impl ResponseResult for UserRole {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `batchinsert(...)` /// // to build up your call. @@ -7474,6 +7477,7 @@ impl<'a, C, A> ConversionMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -7484,9 +7488,9 @@ impl<'a, C, A> ConversionMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -7551,6 +7555,7 @@ impl<'a, C, A> UserRolePermissionGroupMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -7561,9 +7566,9 @@ impl<'a, C, A> UserRolePermissionGroupMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -7628,6 +7633,7 @@ impl<'a, C, A> PlatformTypeMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -7638,9 +7644,9 @@ impl<'a, C, A> PlatformTypeMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -7718,6 +7724,7 @@ impl<'a, C, A> OrderDocumentMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -7728,9 +7735,9 @@ impl<'a, C, A> OrderDocumentMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -7880,6 +7887,7 @@ impl<'a, C, A> CreativeFieldMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -7890,9 +7898,9 @@ impl<'a, C, A> CreativeFieldMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -8043,6 +8051,7 @@ impl<'a, C, A> UserRoleMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -8053,9 +8062,9 @@ impl<'a, C, A> UserRoleMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -8120,6 +8129,7 @@ impl<'a, C, A> OperatingSystemVersionMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -8130,9 +8140,9 @@ impl<'a, C, A> OperatingSystemVersionMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -8287,6 +8297,7 @@ impl<'a, C, A> LandingPageMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -8297,9 +8308,9 @@ impl<'a, C, A> LandingPageMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `insert(...)` /// // to build up your call. @@ -8349,6 +8360,7 @@ impl<'a, C, A> CreativeAssetMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -8359,9 +8371,9 @@ impl<'a, C, A> CreativeAssetMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `insert(...)` and `list(...)` /// // to build up your call. @@ -8433,6 +8445,7 @@ impl<'a, C, A> CampaignCreativeAssociationMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -8443,9 +8456,9 @@ impl<'a, C, A> CampaignCreativeAssociationMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -8520,6 +8533,7 @@ impl<'a, C, A> ChangeLogMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -8530,9 +8544,9 @@ impl<'a, C, A> ChangeLogMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -8620,6 +8634,7 @@ impl<'a, C, A> RemarketingListShareMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -8630,9 +8645,9 @@ impl<'a, C, A> RemarketingListShareMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `compatible_fields_query(...)`, `delete(...)`, `files_get(...)`, `files_list(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)`, `run(...)` and `update(...)` /// // to build up your call. @@ -8865,6 +8880,7 @@ impl<'a, C, A> ReportMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -8875,9 +8891,9 @@ impl<'a, C, A> ReportMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -9013,6 +9029,7 @@ impl<'a, C, A> AdvertiserMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -9023,9 +9040,9 @@ impl<'a, C, A> AdvertiserMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `query(...)` /// // to build up your call. @@ -9075,6 +9092,7 @@ impl<'a, C, A> DimensionValueMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -9085,9 +9103,9 @@ impl<'a, C, A> DimensionValueMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -9220,6 +9238,7 @@ impl<'a, C, A> FloodlightActivityGroupMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -9230,9 +9249,9 @@ impl<'a, C, A> FloodlightActivityGroupMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -9278,6 +9297,7 @@ impl<'a, C, A> MetroMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -9288,9 +9308,9 @@ impl<'a, C, A> MetroMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -9366,6 +9386,7 @@ impl<'a, C, A> OrderMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -9376,9 +9397,9 @@ impl<'a, C, A> OrderMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -9424,6 +9445,7 @@ impl<'a, C, A> LanguageMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -9434,9 +9456,9 @@ impl<'a, C, A> LanguageMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -9508,6 +9530,7 @@ impl<'a, C, A> DirectorySiteContactMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -9518,9 +9541,9 @@ impl<'a, C, A> DirectorySiteContactMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -9578,6 +9601,7 @@ impl<'a, C, A> UserProfileMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -9588,9 +9612,9 @@ impl<'a, C, A> UserProfileMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -9738,6 +9762,7 @@ impl<'a, C, A> AdMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -9748,9 +9773,9 @@ impl<'a, C, A> AdMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -9815,6 +9840,7 @@ impl<'a, C, A> AccountPermissionMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -9825,9 +9851,9 @@ impl<'a, C, A> AccountPermissionMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -9892,6 +9918,7 @@ impl<'a, C, A> ConnectionTypeMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -9902,9 +9929,9 @@ impl<'a, C, A> ConnectionTypeMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -9977,6 +10004,7 @@ impl<'a, C, A> TargetableRemarketingListMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -9987,9 +10015,9 @@ impl<'a, C, A> TargetableRemarketingListMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -10138,6 +10166,7 @@ impl<'a, C, A> AdvertiserGroupMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -10148,9 +10177,9 @@ impl<'a, C, A> AdvertiserGroupMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -10289,6 +10318,7 @@ impl<'a, C, A> SiteMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -10299,9 +10329,9 @@ impl<'a, C, A> SiteMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `generatetag(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -10475,6 +10505,7 @@ impl<'a, C, A> FloodlightActivityMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -10485,9 +10516,9 @@ impl<'a, C, A> FloodlightActivityMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -10533,6 +10564,7 @@ impl<'a, C, A> RegionMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -10543,9 +10575,9 @@ impl<'a, C, A> RegionMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -10677,6 +10709,7 @@ impl<'a, C, A> CreativeGroupMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -10687,9 +10720,9 @@ impl<'a, C, A> CreativeGroupMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -10820,6 +10853,7 @@ impl<'a, C, A> TargetingTemplateMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -10830,9 +10864,9 @@ impl<'a, C, A> TargetingTemplateMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -10962,6 +10996,7 @@ impl<'a, C, A> SubaccountMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -10972,9 +11007,9 @@ impl<'a, C, A> SubaccountMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11039,6 +11074,7 @@ impl<'a, C, A> MobileCarrierMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -11049,9 +11085,9 @@ impl<'a, C, A> MobileCarrierMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -11157,6 +11193,7 @@ impl<'a, C, A> FloodlightConfigurationMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -11167,9 +11204,9 @@ impl<'a, C, A> FloodlightConfigurationMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11234,6 +11271,7 @@ impl<'a, C, A> OperatingSystemMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -11244,9 +11282,9 @@ impl<'a, C, A> OperatingSystemMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11316,6 +11354,7 @@ impl<'a, C, A> FileMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -11326,9 +11365,9 @@ impl<'a, C, A> FileMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -11471,6 +11510,7 @@ impl<'a, C, A> PlacementGroupMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -11481,9 +11521,9 @@ impl<'a, C, A> PlacementGroupMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11561,6 +11601,7 @@ impl<'a, C, A> InventoryItemMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -11571,9 +11612,9 @@ impl<'a, C, A> InventoryItemMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11639,6 +11680,7 @@ impl<'a, C, A> UserRolePermissionMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -11649,9 +11691,9 @@ impl<'a, C, A> UserRolePermissionMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11716,6 +11758,7 @@ impl<'a, C, A> AccountPermissionGroupMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -11726,9 +11769,9 @@ impl<'a, C, A> AccountPermissionGroupMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -11877,6 +11920,7 @@ impl<'a, C, A> ContentCategoryMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -11887,9 +11931,9 @@ impl<'a, C, A> ContentCategoryMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -12029,6 +12073,7 @@ impl<'a, C, A> CreativeMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -12039,9 +12084,9 @@ impl<'a, C, A> CreativeMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -12182,6 +12227,7 @@ impl<'a, C, A> CampaignMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -12192,9 +12238,9 @@ impl<'a, C, A> CampaignMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -12347,6 +12393,7 @@ impl<'a, C, A> EventTagMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -12357,9 +12404,9 @@ impl<'a, C, A> EventTagMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -12492,6 +12539,7 @@ impl<'a, C, A> RemarketingListMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -12502,9 +12550,9 @@ impl<'a, C, A> RemarketingListMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -12554,6 +12602,7 @@ impl<'a, C, A> CityMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -12564,9 +12613,9 @@ impl<'a, C, A> CityMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -12715,6 +12764,7 @@ impl<'a, C, A> PlacementStrategyMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -12725,9 +12775,9 @@ impl<'a, C, A> PlacementStrategyMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -12799,6 +12849,7 @@ impl<'a, C, A> ProjectMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -12809,9 +12860,9 @@ impl<'a, C, A> ProjectMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -12908,6 +12959,7 @@ impl<'a, C, A> DirectorySiteMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -12918,9 +12970,9 @@ impl<'a, C, A> DirectorySiteMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -13012,6 +13064,7 @@ impl<'a, C, A> DynamicTargetingKeyMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -13022,9 +13075,9 @@ impl<'a, C, A> DynamicTargetingKeyMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -13112,6 +13165,7 @@ impl<'a, C, A> SizeMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -13122,9 +13176,9 @@ impl<'a, C, A> SizeMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -13172,6 +13226,7 @@ impl<'a, C, A> AccountActiveAdSummaryMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -13182,9 +13237,9 @@ impl<'a, C, A> AccountActiveAdSummaryMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -13317,6 +13372,7 @@ impl<'a, C, A> AccountUserProfileMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -13327,9 +13383,9 @@ impl<'a, C, A> AccountUserProfileMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -13394,6 +13450,7 @@ impl<'a, C, A> CountryMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -13404,9 +13461,9 @@ impl<'a, C, A> CountryMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -13567,6 +13624,7 @@ impl<'a, C, A> CreativeFieldValueMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -13577,9 +13635,9 @@ impl<'a, C, A> CreativeFieldValueMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -13644,6 +13702,7 @@ impl<'a, C, A> PostalCodeMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -13654,9 +13713,9 @@ impl<'a, C, A> PostalCodeMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -13702,6 +13761,7 @@ impl<'a, C, A> BrowserMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -13712,9 +13772,9 @@ impl<'a, C, A> BrowserMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -13826,6 +13886,7 @@ impl<'a, C, A> AccountMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d6 as dfareporting2d6; /// @@ -13836,9 +13897,9 @@ impl<'a, C, A> AccountMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `generatetags(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -14012,6 +14073,7 @@ impl<'a, C, A> PlacementMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// use dfareporting2d6::ConversionsBatchInsertRequest; @@ -14022,9 +14084,9 @@ impl<'a, C, A> PlacementMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14278,6 +14340,7 @@ impl<'a, C, A> ConversionBatchinsertCall<'a, C, A> where C: BorrowMut ConversionBatchinsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14525,6 +14588,7 @@ impl<'a, C, A> UserRolePermissionGroupGetCall<'a, C, A> where C: BorrowMut UserRolePermissionGroupGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14760,6 +14824,7 @@ impl<'a, C, A> UserRolePermissionGroupListCall<'a, C, A> where C: BorrowMut UserRolePermissionGroupListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15007,6 +15072,7 @@ impl<'a, C, A> PlatformTypeGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -15016,9 +15082,9 @@ impl<'a, C, A> PlatformTypeGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15242,6 +15308,7 @@ impl<'a, C, A> PlatformTypeListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -15251,9 +15318,9 @@ impl<'a, C, A> PlatformTypeListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15501,6 +15568,7 @@ impl<'a, C, A> OrderDocumentGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -15510,9 +15578,9 @@ impl<'a, C, A> OrderDocumentGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15865,6 +15933,7 @@ impl<'a, C, A> OrderDocumentListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// use dfareporting2d6::CreativeField; @@ -15875,9 +15944,9 @@ impl<'a, C, A> OrderDocumentListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16131,6 +16200,7 @@ impl<'a, C, A> CreativeFieldUpdateCall<'a, C, A> where C: BorrowMut CreativeFieldUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16456,6 +16526,7 @@ impl<'a, C, A> CreativeFieldListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -16465,9 +16536,9 @@ impl<'a, C, A> CreativeFieldListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16692,6 +16763,7 @@ impl<'a, C, A> CreativeFieldDeleteCall<'a, C, A> where C: BorrowMut CreativeFieldDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16939,6 +17011,7 @@ impl<'a, C, A> CreativeFieldGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// use dfareporting2d6::CreativeField; @@ -16949,9 +17022,9 @@ impl<'a, C, A> CreativeFieldGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17205,6 +17278,7 @@ impl<'a, C, A> CreativeFieldInsertCall<'a, C, A> where C: BorrowMut CreativeFieldInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17483,6 +17557,7 @@ impl<'a, C, A> CreativeFieldPatchCall<'a, C, A> where C: BorrowMut CreativeFieldPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17749,6 +17824,7 @@ impl<'a, C, A> UserRoleInsertCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -17758,9 +17834,9 @@ impl<'a, C, A> UserRoleInsertCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17996,6 +18072,7 @@ impl<'a, C, A> UserRoleGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// use dfareporting2d6::UserRole; @@ -18006,9 +18083,9 @@ impl<'a, C, A> UserRoleGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18262,6 +18339,7 @@ impl<'a, C, A> UserRoleUpdateCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -18271,9 +18349,9 @@ impl<'a, C, A> UserRoleUpdateCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18498,6 +18576,7 @@ impl<'a, C, A> UserRoleDeleteCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// use dfareporting2d6::UserRole; @@ -18508,9 +18587,9 @@ impl<'a, C, A> UserRoleDeleteCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18776,6 +18855,7 @@ impl<'a, C, A> UserRolePatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -18785,9 +18865,9 @@ impl<'a, C, A> UserRolePatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19110,6 +19190,7 @@ impl<'a, C, A> UserRoleListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -19119,9 +19200,9 @@ impl<'a, C, A> UserRoleListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19357,6 +19438,7 @@ impl<'a, C, A> OperatingSystemVersionGetCall<'a, C, A> where C: BorrowMut OperatingSystemVersionGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19592,6 +19674,7 @@ impl<'a, C, A> OperatingSystemVersionListCall<'a, C, A> where C: BorrowMut OperatingSystemVersionListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19851,6 +19934,7 @@ impl<'a, C, A> LandingPageGetCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// use dfareporting2d6::LandingPage; @@ -19861,9 +19945,9 @@ impl<'a, C, A> LandingPageGetCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20129,6 +20213,7 @@ impl<'a, C, A> LandingPageUpdateCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -20138,9 +20223,9 @@ impl<'a, C, A> LandingPageUpdateCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20376,6 +20461,7 @@ impl<'a, C, A> LandingPageListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// use dfareporting2d6::LandingPage; @@ -20386,9 +20472,9 @@ impl<'a, C, A> LandingPageListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20654,6 +20740,7 @@ impl<'a, C, A> LandingPageInsertCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// use dfareporting2d6::LandingPage; @@ -20664,9 +20751,9 @@ impl<'a, C, A> LandingPageInsertCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20944,6 +21031,7 @@ impl<'a, C, A> LandingPagePatchCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -20953,9 +21041,9 @@ impl<'a, C, A> LandingPagePatchCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21192,6 +21280,7 @@ impl<'a, C, A> LandingPageDeleteCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// use dfareporting2d6::CreativeAssetMetadata; @@ -21203,9 +21292,9 @@ impl<'a, C, A> LandingPageDeleteCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21584,6 +21673,7 @@ impl<'a, C, A> CreativeAssetInsertCall<'a, C, A> where C: BorrowMut CreativeAssetInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21862,6 +21952,7 @@ impl<'a, C, A> CampaignCreativeAssociationInsertCall<'a, C, A> where C: BorrowMu /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -21871,9 +21962,9 @@ impl<'a, C, A> CampaignCreativeAssociationInsertCall<'a, C, A> where C: BorrowMu /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22145,6 +22236,7 @@ impl<'a, C, A> CampaignCreativeAssociationListCall<'a, C, A> where C: BorrowMut< /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -22154,9 +22246,9 @@ impl<'a, C, A> CampaignCreativeAssociationListCall<'a, C, A> where C: BorrowMut< /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22509,6 +22601,7 @@ impl<'a, C, A> ChangeLogListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -22518,9 +22611,9 @@ impl<'a, C, A> ChangeLogListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22756,6 +22849,7 @@ impl<'a, C, A> ChangeLogGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -22765,9 +22859,9 @@ impl<'a, C, A> ChangeLogGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23003,6 +23097,7 @@ impl<'a, C, A> RemarketingListShareGetCall<'a, C, A> where C: BorrowMut RemarketingListShareGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23281,6 +23376,7 @@ impl<'a, C, A> RemarketingListSharePatchCall<'a, C, A> where C: BorrowMut RemarketingListSharePatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23547,6 +23643,7 @@ impl<'a, C, A> RemarketingListShareUpdateCall<'a, C, A> where C: BorrowMut RemarketingListShareUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23806,6 +23903,7 @@ impl<'a, C, A> ReportRunCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// use dfareporting2d6::Report; @@ -23816,9 +23914,9 @@ impl<'a, C, A> ReportRunCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24084,6 +24182,7 @@ impl<'a, C, A> ReportPatchCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -24093,9 +24192,9 @@ impl<'a, C, A> ReportPatchCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -24379,6 +24478,7 @@ impl<'a, C, A> ReportFileListCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// use dfareporting2d6::Report; @@ -24389,9 +24489,9 @@ impl<'a, C, A> ReportFileListCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24645,6 +24745,7 @@ impl<'a, C, A> ReportInsertCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// use dfareporting2d6::Report; @@ -24655,9 +24756,9 @@ impl<'a, C, A> ReportInsertCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24923,6 +25024,7 @@ impl<'a, C, A> ReportUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// use dfareporting2d6::Report; @@ -24933,9 +25035,9 @@ impl<'a, C, A> ReportUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -25189,6 +25291,7 @@ impl<'a, C, A> ReportCompatibleFieldQueryCall<'a, C, A> where C: BorrowMut ReportCompatibleFieldQueryCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25441,6 +25544,7 @@ impl<'a, C, A> ReportGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -25450,9 +25554,9 @@ impl<'a, C, A> ReportGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25716,6 +25820,7 @@ impl<'a, C, A> ReportFileGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -25725,9 +25830,9 @@ impl<'a, C, A> ReportFileGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25952,6 +26057,7 @@ impl<'a, C, A> ReportDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -25961,9 +26067,9 @@ impl<'a, C, A> ReportDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -26247,6 +26353,7 @@ impl<'a, C, A> ReportListCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// use dfareporting2d6::Advertiser; @@ -26257,9 +26364,9 @@ impl<'a, C, A> ReportListCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -26513,6 +26620,7 @@ impl<'a, C, A> AdvertiserInsertCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// use dfareporting2d6::Advertiser; @@ -26523,9 +26631,9 @@ impl<'a, C, A> AdvertiserInsertCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -26791,6 +26899,7 @@ impl<'a, C, A> AdvertiserPatchCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -26800,9 +26909,9 @@ impl<'a, C, A> AdvertiserPatchCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -27179,6 +27288,7 @@ impl<'a, C, A> AdvertiserListCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// use dfareporting2d6::Advertiser; @@ -27189,9 +27299,9 @@ impl<'a, C, A> AdvertiserListCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -27445,6 +27555,7 @@ impl<'a, C, A> AdvertiserUpdateCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -27454,9 +27565,9 @@ impl<'a, C, A> AdvertiserUpdateCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -27692,6 +27803,7 @@ impl<'a, C, A> AdvertiserGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// use dfareporting2d6::DimensionValueRequest; @@ -27702,9 +27814,9 @@ impl<'a, C, A> AdvertiserGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -27982,6 +28094,7 @@ impl<'a, C, A> DimensionValueQueryCall<'a, C, A> where C: BorrowMut DimensionValueQueryCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -28229,6 +28342,7 @@ impl<'a, C, A> FloodlightActivityGroupGetCall<'a, C, A> where C: BorrowMut FloodlightActivityGroupGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -28507,6 +28621,7 @@ impl<'a, C, A> FloodlightActivityGroupPatchCall<'a, C, A> where C: BorrowMut FloodlightActivityGroupPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -28853,6 +28968,7 @@ impl<'a, C, A> FloodlightActivityGroupListCall<'a, C, A> where C: BorrowMut FloodlightActivityGroupListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -29119,6 +29235,7 @@ impl<'a, C, A> FloodlightActivityGroupInsertCall<'a, C, A> where C: BorrowMut FloodlightActivityGroupInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -29385,6 +29502,7 @@ impl<'a, C, A> FloodlightActivityGroupUpdateCall<'a, C, A> where C: BorrowMut FloodlightActivityGroupUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -29620,6 +29738,7 @@ impl<'a, C, A> MetroListCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -29629,9 +29748,9 @@ impl<'a, C, A> MetroListCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -29957,6 +30076,7 @@ impl<'a, C, A> OrderListCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -29966,9 +30086,9 @@ impl<'a, C, A> OrderListCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30216,6 +30336,7 @@ impl<'a, C, A> OrderGetCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -30225,9 +30346,9 @@ impl<'a, C, A> OrderGetCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30451,6 +30572,7 @@ impl<'a, C, A> LanguageListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -30460,9 +30582,9 @@ impl<'a, C, A> LanguageListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30698,6 +30820,7 @@ impl<'a, C, A> DirectorySiteContactGetCall<'a, C, A> where C: BorrowMut DirectorySiteContactGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -31023,6 +31146,7 @@ impl<'a, C, A> DirectorySiteContactListCall<'a, C, A> where C: BorrowMut DirectorySiteContactListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -31225,6 +31349,7 @@ impl<'a, C, A> UserProfileListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -31234,9 +31359,9 @@ impl<'a, C, A> UserProfileListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -31460,6 +31585,7 @@ impl<'a, C, A> UserProfileGetCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// use dfareporting2d6::Ad; @@ -31470,9 +31596,9 @@ impl<'a, C, A> UserProfileGetCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -31738,6 +31864,7 @@ impl<'a, C, A> AdPatchCall<'a, C, A> where C: BorrowMut, A: oauth /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// use dfareporting2d6::Ad; @@ -31748,9 +31875,9 @@ impl<'a, C, A> AdPatchCall<'a, C, A> where C: BorrowMut, A: oauth /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -32004,6 +32131,7 @@ impl<'a, C, A> AdInsertCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -32013,9 +32141,9 @@ impl<'a, C, A> AdInsertCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -32557,6 +32685,7 @@ impl<'a, C, A> AdListCall<'a, C, A> where C: BorrowMut, A: oauth2 /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -32566,9 +32695,9 @@ impl<'a, C, A> AdListCall<'a, C, A> where C: BorrowMut, A: oauth2 /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -32804,6 +32933,7 @@ impl<'a, C, A> AdGetCall<'a, C, A> where C: BorrowMut, A: oauth2: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// use dfareporting2d6::Ad; @@ -32814,9 +32944,9 @@ impl<'a, C, A> AdGetCall<'a, C, A> where C: BorrowMut, A: oauth2: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -33070,6 +33200,7 @@ impl<'a, C, A> AdUpdateCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -33079,9 +33210,9 @@ impl<'a, C, A> AdUpdateCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -33317,6 +33448,7 @@ impl<'a, C, A> AccountPermissionGetCall<'a, C, A> where C: BorrowMut AccountPermissionGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -33552,6 +33684,7 @@ impl<'a, C, A> AccountPermissionListCall<'a, C, A> where C: BorrowMut AccountPermissionListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -33787,6 +33920,7 @@ impl<'a, C, A> ConnectionTypeListCall<'a, C, A> where C: BorrowMut ConnectionTypeListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -34034,6 +34168,7 @@ impl<'a, C, A> ConnectionTypeGetCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -34043,9 +34178,9 @@ impl<'a, C, A> ConnectionTypeGetCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -34353,6 +34488,7 @@ impl<'a, C, A> TargetableRemarketingListListCall<'a, C, A> where C: BorrowMut TargetableRemarketingListListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -34600,6 +34736,7 @@ impl<'a, C, A> TargetableRemarketingListGetCall<'a, C, A> where C: BorrowMut TargetableRemarketingListGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -34847,6 +34984,7 @@ impl<'a, C, A> AdvertiserGroupGetCall<'a, C, A> where C: BorrowMut AdvertiserGroupGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -35157,6 +35295,7 @@ impl<'a, C, A> AdvertiserGroupListCall<'a, C, A> where C: BorrowMut AdvertiserGroupListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -35423,6 +35562,7 @@ impl<'a, C, A> AdvertiserGroupInsertCall<'a, C, A> where C: BorrowMut AdvertiserGroupInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -35689,6 +35829,7 @@ impl<'a, C, A> AdvertiserGroupUpdateCall<'a, C, A> where C: BorrowMut AdvertiserGroupUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -35967,6 +36108,7 @@ impl<'a, C, A> AdvertiserGroupPatchCall<'a, C, A> where C: BorrowMut AdvertiserGroupPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -36203,6 +36345,7 @@ impl<'a, C, A> AdvertiserGroupDeleteCall<'a, C, A> where C: BorrowMut AdvertiserGroupDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -36469,6 +36612,7 @@ impl<'a, C, A> SiteInsertCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -36478,9 +36622,9 @@ impl<'a, C, A> SiteInsertCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -36716,6 +36860,7 @@ impl<'a, C, A> SiteGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -36725,9 +36870,9 @@ impl<'a, C, A> SiteGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -37140,6 +37285,7 @@ impl<'a, C, A> SiteListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// use dfareporting2d6::Site; @@ -37150,9 +37296,9 @@ impl<'a, C, A> SiteListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -37406,6 +37552,7 @@ impl<'a, C, A> SiteUpdateCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// use dfareporting2d6::Site; @@ -37416,9 +37563,9 @@ impl<'a, C, A> SiteUpdateCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -37684,6 +37831,7 @@ impl<'a, C, A> SitePatchCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -37693,9 +37841,9 @@ impl<'a, C, A> SitePatchCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -37931,6 +38079,7 @@ impl<'a, C, A> FloodlightActivityGetCall<'a, C, A> where C: BorrowMut FloodlightActivityGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -38328,6 +38477,7 @@ impl<'a, C, A> FloodlightActivityListCall<'a, C, A> where C: BorrowMut FloodlightActivityListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -38594,6 +38744,7 @@ impl<'a, C, A> FloodlightActivityInsertCall<'a, C, A> where C: BorrowMut FloodlightActivityInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -38830,6 +38981,7 @@ impl<'a, C, A> FloodlightActivityDeleteCall<'a, C, A> where C: BorrowMut FloodlightActivityDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -39108,6 +39260,7 @@ impl<'a, C, A> FloodlightActivityPatchCall<'a, C, A> where C: BorrowMut FloodlightActivityPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -39355,6 +39508,7 @@ impl<'a, C, A> FloodlightActivityGeneratetagCall<'a, C, A> where C: BorrowMut FloodlightActivityGeneratetagCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -39621,6 +39775,7 @@ impl<'a, C, A> FloodlightActivityUpdateCall<'a, C, A> where C: BorrowMut FloodlightActivityUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -39856,6 +40011,7 @@ impl<'a, C, A> RegionListCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// use dfareporting2d6::CreativeGroup; @@ -39866,9 +40022,9 @@ impl<'a, C, A> RegionListCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -40122,6 +40278,7 @@ impl<'a, C, A> CreativeGroupInsertCall<'a, C, A> where C: BorrowMut CreativeGroupInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -40369,6 +40526,7 @@ impl<'a, C, A> CreativeGroupGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// use dfareporting2d6::CreativeGroup; @@ -40379,9 +40537,9 @@ impl<'a, C, A> CreativeGroupGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -40635,6 +40793,7 @@ impl<'a, C, A> CreativeGroupUpdateCall<'a, C, A> where C: BorrowMut CreativeGroupUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -40972,6 +41131,7 @@ impl<'a, C, A> CreativeGroupListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// use dfareporting2d6::CreativeGroup; @@ -40982,9 +41142,9 @@ impl<'a, C, A> CreativeGroupListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -41250,6 +41410,7 @@ impl<'a, C, A> CreativeGroupPatchCall<'a, C, A> where C: BorrowMut CreativeGroupPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -41528,6 +41689,7 @@ impl<'a, C, A> TargetingTemplatePatchCall<'a, C, A> where C: BorrowMut TargetingTemplatePatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -41850,6 +42012,7 @@ impl<'a, C, A> TargetingTemplateListCall<'a, C, A> where C: BorrowMut TargetingTemplateListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -42097,6 +42260,7 @@ impl<'a, C, A> TargetingTemplateGetCall<'a, C, A> where C: BorrowMut TargetingTemplateGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -42363,6 +42527,7 @@ impl<'a, C, A> TargetingTemplateInsertCall<'a, C, A> where C: BorrowMut TargetingTemplateInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -42629,6 +42794,7 @@ impl<'a, C, A> TargetingTemplateUpdateCall<'a, C, A> where C: BorrowMut TargetingTemplateUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -42907,6 +43073,7 @@ impl<'a, C, A> SubaccountPatchCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// use dfareporting2d6::Subaccount; @@ -42917,9 +43084,9 @@ impl<'a, C, A> SubaccountPatchCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -43173,6 +43340,7 @@ impl<'a, C, A> SubaccountInsertCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// use dfareporting2d6::Subaccount; @@ -43183,9 +43351,9 @@ impl<'a, C, A> SubaccountInsertCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -43439,6 +43607,7 @@ impl<'a, C, A> SubaccountUpdateCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -43448,9 +43617,9 @@ impl<'a, C, A> SubaccountUpdateCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -43749,6 +43918,7 @@ impl<'a, C, A> SubaccountListCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -43758,9 +43928,9 @@ impl<'a, C, A> SubaccountListCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -43996,6 +44166,7 @@ impl<'a, C, A> SubaccountGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -44005,9 +44176,9 @@ impl<'a, C, A> SubaccountGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -44243,6 +44414,7 @@ impl<'a, C, A> MobileCarrierGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -44252,9 +44424,9 @@ impl<'a, C, A> MobileCarrierGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -44478,6 +44650,7 @@ impl<'a, C, A> MobileCarrierListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -44487,9 +44660,9 @@ impl<'a, C, A> MobileCarrierListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -44725,6 +44898,7 @@ impl<'a, C, A> FloodlightConfigurationGetCall<'a, C, A> where C: BorrowMut FloodlightConfigurationGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -44991,6 +45165,7 @@ impl<'a, C, A> FloodlightConfigurationUpdateCall<'a, C, A> where C: BorrowMut FloodlightConfigurationUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -45269,6 +45444,7 @@ impl<'a, C, A> FloodlightConfigurationPatchCall<'a, C, A> where C: BorrowMut FloodlightConfigurationPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -45519,6 +45695,7 @@ impl<'a, C, A> FloodlightConfigurationListCall<'a, C, A> where C: BorrowMut FloodlightConfigurationListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -45754,6 +45931,7 @@ impl<'a, C, A> OperatingSystemListCall<'a, C, A> where C: BorrowMut OperatingSystemListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -46001,6 +46179,7 @@ impl<'a, C, A> OperatingSystemGetCall<'a, C, A> where C: BorrowMut OperatingSystemGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -46301,6 +46480,7 @@ impl<'a, C, A> FileListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -46310,9 +46490,9 @@ impl<'a, C, A> FileListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -46564,6 +46744,7 @@ impl<'a, C, A> FileGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -46573,9 +46754,9 @@ impl<'a, C, A> FileGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -47051,6 +47232,7 @@ impl<'a, C, A> PlacementGroupListCall<'a, C, A> where C: BorrowMut PlacementGroupListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -47317,6 +47499,7 @@ impl<'a, C, A> PlacementGroupUpdateCall<'a, C, A> where C: BorrowMut PlacementGroupUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -47583,6 +47766,7 @@ impl<'a, C, A> PlacementGroupInsertCall<'a, C, A> where C: BorrowMut PlacementGroupInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -47830,6 +48014,7 @@ impl<'a, C, A> PlacementGroupGetCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// use dfareporting2d6::PlacementGroup; @@ -47840,9 +48025,9 @@ impl<'a, C, A> PlacementGroupGetCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -48108,6 +48293,7 @@ impl<'a, C, A> PlacementGroupPatchCall<'a, C, A> where C: BorrowMut PlacementGroupPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -48472,6 +48658,7 @@ impl<'a, C, A> InventoryItemListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -48481,9 +48668,9 @@ impl<'a, C, A> InventoryItemListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -48731,6 +48918,7 @@ impl<'a, C, A> InventoryItemGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -48740,9 +48928,9 @@ impl<'a, C, A> InventoryItemGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -48978,6 +49166,7 @@ impl<'a, C, A> UserRolePermissionGetCall<'a, C, A> where C: BorrowMut UserRolePermissionGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -49228,6 +49417,7 @@ impl<'a, C, A> UserRolePermissionListCall<'a, C, A> where C: BorrowMut UserRolePermissionListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -49463,6 +49653,7 @@ impl<'a, C, A> AccountPermissionGroupListCall<'a, C, A> where C: BorrowMut AccountPermissionGroupListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -49710,6 +49901,7 @@ impl<'a, C, A> AccountPermissionGroupGetCall<'a, C, A> where C: BorrowMut AccountPermissionGroupGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -50020,6 +50212,7 @@ impl<'a, C, A> ContentCategoryListCall<'a, C, A> where C: BorrowMut ContentCategoryListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -50286,6 +50479,7 @@ impl<'a, C, A> ContentCategoryUpdateCall<'a, C, A> where C: BorrowMut ContentCategoryUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -50552,6 +50746,7 @@ impl<'a, C, A> ContentCategoryInsertCall<'a, C, A> where C: BorrowMut ContentCategoryInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -50788,6 +50983,7 @@ impl<'a, C, A> ContentCategoryDeleteCall<'a, C, A> where C: BorrowMut ContentCategoryDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -51035,6 +51231,7 @@ impl<'a, C, A> ContentCategoryGetCall<'a, C, A> where C: BorrowMut ContentCategoryGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -51313,6 +51510,7 @@ impl<'a, C, A> ContentCategoryPatchCall<'a, C, A> where C: BorrowMut ContentCategoryPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -51579,6 +51777,7 @@ impl<'a, C, A> CreativeUpdateCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// use dfareporting2d6::Creative; @@ -51589,9 +51788,9 @@ impl<'a, C, A> CreativeUpdateCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -51845,6 +52044,7 @@ impl<'a, C, A> CreativeInsertCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -51854,9 +52054,9 @@ impl<'a, C, A> CreativeInsertCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -52092,6 +52292,7 @@ impl<'a, C, A> CreativeGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -52101,9 +52302,9 @@ impl<'a, C, A> CreativeGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -52537,6 +52738,7 @@ impl<'a, C, A> CreativeListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// use dfareporting2d6::Creative; @@ -52547,9 +52749,9 @@ impl<'a, C, A> CreativeListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -52815,6 +53017,7 @@ impl<'a, C, A> CreativePatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -52824,9 +53027,9 @@ impl<'a, C, A> CreativePatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -53062,6 +53265,7 @@ impl<'a, C, A> CampaignGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// use dfareporting2d6::Campaign; @@ -53072,9 +53276,9 @@ impl<'a, C, A> CampaignGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -53352,6 +53556,7 @@ impl<'a, C, A> CampaignInsertCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// use dfareporting2d6::Campaign; @@ -53362,9 +53567,9 @@ impl<'a, C, A> CampaignInsertCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -53630,6 +53835,7 @@ impl<'a, C, A> CampaignPatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// use dfareporting2d6::Campaign; @@ -53640,9 +53846,9 @@ impl<'a, C, A> CampaignPatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -53896,6 +54102,7 @@ impl<'a, C, A> CampaignUpdateCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -53905,9 +54112,9 @@ impl<'a, C, A> CampaignUpdateCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -54299,6 +54506,7 @@ impl<'a, C, A> CampaignListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -54308,9 +54516,9 @@ impl<'a, C, A> CampaignListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -54535,6 +54743,7 @@ impl<'a, C, A> EventTagDeleteCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -54544,9 +54753,9 @@ impl<'a, C, A> EventTagDeleteCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -54896,6 +55105,7 @@ impl<'a, C, A> EventTagListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// use dfareporting2d6::EventTag; @@ -54906,9 +55116,9 @@ impl<'a, C, A> EventTagListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -55162,6 +55372,7 @@ impl<'a, C, A> EventTagInsertCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// use dfareporting2d6::EventTag; @@ -55172,9 +55383,9 @@ impl<'a, C, A> EventTagInsertCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -55440,6 +55651,7 @@ impl<'a, C, A> EventTagPatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// use dfareporting2d6::EventTag; @@ -55450,9 +55662,9 @@ impl<'a, C, A> EventTagPatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -55706,6 +55918,7 @@ impl<'a, C, A> EventTagUpdateCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -55715,9 +55928,9 @@ impl<'a, C, A> EventTagUpdateCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -55953,6 +56166,7 @@ impl<'a, C, A> EventTagGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -55962,9 +56176,9 @@ impl<'a, C, A> EventTagGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -56200,6 +56414,7 @@ impl<'a, C, A> RemarketingListGetCall<'a, C, A> where C: BorrowMut RemarketingListGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -56466,6 +56681,7 @@ impl<'a, C, A> RemarketingListUpdateCall<'a, C, A> where C: BorrowMut RemarketingListUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -56797,6 +57013,7 @@ impl<'a, C, A> RemarketingListListCall<'a, C, A> where C: BorrowMut RemarketingListListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -57075,6 +57292,7 @@ impl<'a, C, A> RemarketingListPatchCall<'a, C, A> where C: BorrowMut RemarketingListPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -57341,6 +57559,7 @@ impl<'a, C, A> RemarketingListInsertCall<'a, C, A> where C: BorrowMut RemarketingListInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -57633,6 +57852,7 @@ impl<'a, C, A> CityListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// use dfareporting2d6::PlacementStrategy; @@ -57643,9 +57863,9 @@ impl<'a, C, A> CityListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -57899,6 +58119,7 @@ impl<'a, C, A> PlacementStrategyUpdateCall<'a, C, A> where C: BorrowMut PlacementStrategyUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -58146,6 +58367,7 @@ impl<'a, C, A> PlacementStrategyGetCall<'a, C, A> where C: BorrowMut PlacementStrategyGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -58456,6 +58678,7 @@ impl<'a, C, A> PlacementStrategyListCall<'a, C, A> where C: BorrowMut PlacementStrategyListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -58692,6 +58915,7 @@ impl<'a, C, A> PlacementStrategyDeleteCall<'a, C, A> where C: BorrowMut PlacementStrategyDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -58958,6 +59182,7 @@ impl<'a, C, A> PlacementStrategyInsertCall<'a, C, A> where C: BorrowMut PlacementStrategyInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -59236,6 +59461,7 @@ impl<'a, C, A> PlacementStrategyPatchCall<'a, C, A> where C: BorrowMut PlacementStrategyPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -59561,6 +59787,7 @@ impl<'a, C, A> ProjectListCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -59570,9 +59797,9 @@ impl<'a, C, A> ProjectListCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -59808,6 +60035,7 @@ impl<'a, C, A> ProjectGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// use dfareporting2d6::DirectorySite; @@ -59818,9 +60046,9 @@ impl<'a, C, A> ProjectGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -60074,6 +60302,7 @@ impl<'a, C, A> DirectorySiteInsertCall<'a, C, A> where C: BorrowMut DirectorySiteInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -60468,6 +60697,7 @@ impl<'a, C, A> DirectorySiteListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -60477,9 +60707,9 @@ impl<'a, C, A> DirectorySiteListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -60715,6 +60945,7 @@ impl<'a, C, A> DirectorySiteGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -60724,9 +60955,9 @@ impl<'a, C, A> DirectorySiteGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -60975,6 +61206,7 @@ impl<'a, C, A> DynamicTargetingKeyDeleteCall<'a, C, A> where C: BorrowMut DynamicTargetingKeyDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -61261,6 +61493,7 @@ impl<'a, C, A> DynamicTargetingKeyListCall<'a, C, A> where C: BorrowMut DynamicTargetingKeyListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -61527,6 +61760,7 @@ impl<'a, C, A> DynamicTargetingKeyInsertCall<'a, C, A> where C: BorrowMut DynamicTargetingKeyInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -61793,6 +62027,7 @@ impl<'a, C, A> SizeInsertCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -61802,9 +62037,9 @@ impl<'a, C, A> SizeInsertCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -62079,6 +62314,7 @@ impl<'a, C, A> SizeListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -62088,9 +62324,9 @@ impl<'a, C, A> SizeListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -62326,6 +62562,7 @@ impl<'a, C, A> SizeGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -62335,9 +62572,9 @@ impl<'a, C, A> SizeGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -62573,6 +62810,7 @@ impl<'a, C, A> AccountActiveAdSummaryGetCall<'a, C, A> where C: BorrowMut AccountActiveAdSummaryGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -62839,6 +63077,7 @@ impl<'a, C, A> AccountUserProfileUpdateCall<'a, C, A> where C: BorrowMut AccountUserProfileUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -63185,6 +63424,7 @@ impl<'a, C, A> AccountUserProfileListCall<'a, C, A> where C: BorrowMut AccountUserProfileListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -63451,6 +63691,7 @@ impl<'a, C, A> AccountUserProfileInsertCall<'a, C, A> where C: BorrowMut AccountUserProfileInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -63729,6 +63970,7 @@ impl<'a, C, A> AccountUserProfilePatchCall<'a, C, A> where C: BorrowMut AccountUserProfilePatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -63976,6 +64218,7 @@ impl<'a, C, A> AccountUserProfileGetCall<'a, C, A> where C: BorrowMut AccountUserProfileGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -64211,6 +64454,7 @@ impl<'a, C, A> CountryListCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -64220,9 +64464,9 @@ impl<'a, C, A> CountryListCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -64458,6 +64702,7 @@ impl<'a, C, A> CountryGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// use dfareporting2d6::CreativeFieldValue; @@ -64468,9 +64713,9 @@ impl<'a, C, A> CountryGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -64748,6 +64993,7 @@ impl<'a, C, A> CreativeFieldValuePatchCall<'a, C, A> where C: BorrowMut CreativeFieldValuePatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -65007,6 +65253,7 @@ impl<'a, C, A> CreativeFieldValueGetCall<'a, C, A> where C: BorrowMut CreativeFieldValueGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -65255,6 +65502,7 @@ impl<'a, C, A> CreativeFieldValueDeleteCall<'a, C, A> where C: BorrowMut CreativeFieldValueDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -65533,6 +65781,7 @@ impl<'a, C, A> CreativeFieldValueInsertCall<'a, C, A> where C: BorrowMut CreativeFieldValueInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -65811,6 +66060,7 @@ impl<'a, C, A> CreativeFieldValueUpdateCall<'a, C, A> where C: BorrowMut CreativeFieldValueUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -66133,6 +66383,7 @@ impl<'a, C, A> CreativeFieldValueListCall<'a, C, A> where C: BorrowMut CreativeFieldValueListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -66380,6 +66631,7 @@ impl<'a, C, A> PostalCodeGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -66389,9 +66641,9 @@ impl<'a, C, A> PostalCodeGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -66615,6 +66867,7 @@ impl<'a, C, A> PostalCodeListCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -66624,9 +66877,9 @@ impl<'a, C, A> PostalCodeListCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -66850,6 +67103,7 @@ impl<'a, C, A> BrowserListCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -66859,9 +67113,9 @@ impl<'a, C, A> BrowserListCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -67097,6 +67351,7 @@ impl<'a, C, A> AccountGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -67106,9 +67361,9 @@ impl<'a, C, A> AccountGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -67419,6 +67674,7 @@ impl<'a, C, A> AccountListCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// use dfareporting2d6::Account; @@ -67429,9 +67685,9 @@ impl<'a, C, A> AccountListCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -67685,6 +67941,7 @@ impl<'a, C, A> AccountUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// use dfareporting2d6::Account; @@ -67695,9 +67952,9 @@ impl<'a, C, A> AccountUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -67963,6 +68220,7 @@ impl<'a, C, A> AccountPatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// use dfareporting2d6::Placement; @@ -67973,9 +68231,9 @@ impl<'a, C, A> AccountPatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -68241,6 +68499,7 @@ impl<'a, C, A> PlacementPatchCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -68250,9 +68509,9 @@ impl<'a, C, A> PlacementPatchCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -68773,6 +69032,7 @@ impl<'a, C, A> PlacementListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -68782,9 +69042,9 @@ impl<'a, C, A> PlacementListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -69020,6 +69280,7 @@ impl<'a, C, A> PlacementGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// use dfareporting2d6::Placement; @@ -69030,9 +69291,9 @@ impl<'a, C, A> PlacementGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -69286,6 +69547,7 @@ impl<'a, C, A> PlacementInsertCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// use dfareporting2d6::Placement; @@ -69296,9 +69558,9 @@ impl<'a, C, A> PlacementInsertCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -69552,6 +69814,7 @@ impl<'a, C, A> PlacementUpdateCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d6 as dfareporting2d6; /// # #[test] fn egal() { @@ -69561,9 +69824,9 @@ impl<'a, C, A> PlacementUpdateCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/dfareporting2d7-cli/Cargo.toml b/gen/dfareporting2d7-cli/Cargo.toml index b0e352e00c..82ab488203 100644 --- a/gen/dfareporting2d7-cli/Cargo.toml +++ b/gen/dfareporting2d7-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["dfareporting", "google", "cli"] [[bin]] name = "dfareporting2d7" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/dfareporting2d7/Cargo.toml b/gen/dfareporting2d7/Cargo.toml index 253fd6cf7d..662afa5442 100644 --- a/gen/dfareporting2d7/Cargo.toml +++ b/gen/dfareporting2d7/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["dfareporting", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/dfareporting2d7/README.md b/gen/dfareporting2d7/README.md index d6e26d6d35..b16fb158b4 100644 --- a/gen/dfareporting2d7/README.md +++ b/gen/dfareporting2d7/README.md @@ -206,6 +206,7 @@ google-dfareporting2d7 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_dfareporting2d7 as dfareporting2d7; use dfareporting2d7::{Result, Error}; @@ -222,9 +223,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Dfareporting::new(hyper::Client::new(), auth); +let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! diff --git a/gen/dfareporting2d7/src/lib.rs b/gen/dfareporting2d7/src/lib.rs index 6a1f884bef..24d2760416 100644 --- a/gen/dfareporting2d7/src/lib.rs +++ b/gen/dfareporting2d7/src/lib.rs @@ -206,6 +206,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_dfareporting2d7 as dfareporting2d7; //! use dfareporting2d7::{Result, Error}; @@ -223,9 +224,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Dfareporting::new(hyper::Client::new(), auth); +//! let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! @@ -397,6 +398,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// use dfareporting2d7::{Result, Error}; @@ -414,9 +416,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7586,6 +7588,7 @@ impl ResponseResult for UserRole {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -7596,9 +7599,9 @@ impl ResponseResult for UserRole {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `batchinsert(...)` /// // to build up your call. @@ -7646,6 +7649,7 @@ impl<'a, C, A> ConversionMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -7656,9 +7660,9 @@ impl<'a, C, A> ConversionMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -7723,6 +7727,7 @@ impl<'a, C, A> UserRolePermissionGroupMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -7733,9 +7738,9 @@ impl<'a, C, A> UserRolePermissionGroupMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -7800,6 +7805,7 @@ impl<'a, C, A> PlatformTypeMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -7810,9 +7816,9 @@ impl<'a, C, A> PlatformTypeMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -7890,6 +7896,7 @@ impl<'a, C, A> OrderDocumentMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -7900,9 +7907,9 @@ impl<'a, C, A> OrderDocumentMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -8052,6 +8059,7 @@ impl<'a, C, A> CreativeFieldMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -8062,9 +8070,9 @@ impl<'a, C, A> CreativeFieldMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -8215,6 +8223,7 @@ impl<'a, C, A> UserRoleMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -8225,9 +8234,9 @@ impl<'a, C, A> UserRoleMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -8292,6 +8301,7 @@ impl<'a, C, A> OperatingSystemVersionMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -8302,9 +8312,9 @@ impl<'a, C, A> OperatingSystemVersionMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -8459,6 +8469,7 @@ impl<'a, C, A> LandingPageMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -8469,9 +8480,9 @@ impl<'a, C, A> LandingPageMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `insert(...)` /// // to build up your call. @@ -8521,6 +8532,7 @@ impl<'a, C, A> CreativeAssetMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -8531,9 +8543,9 @@ impl<'a, C, A> CreativeAssetMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `insert(...)` and `list(...)` /// // to build up your call. @@ -8605,6 +8617,7 @@ impl<'a, C, A> CampaignCreativeAssociationMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -8615,9 +8628,9 @@ impl<'a, C, A> CampaignCreativeAssociationMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -8692,6 +8705,7 @@ impl<'a, C, A> ChangeLogMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -8702,9 +8716,9 @@ impl<'a, C, A> ChangeLogMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -8792,6 +8806,7 @@ impl<'a, C, A> RemarketingListShareMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -8802,9 +8817,9 @@ impl<'a, C, A> RemarketingListShareMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `compatible_fields_query(...)`, `delete(...)`, `files_get(...)`, `files_list(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)`, `run(...)` and `update(...)` /// // to build up your call. @@ -9037,6 +9052,7 @@ impl<'a, C, A> ReportMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -9047,9 +9063,9 @@ impl<'a, C, A> ReportMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -9185,6 +9201,7 @@ impl<'a, C, A> AdvertiserMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -9195,9 +9212,9 @@ impl<'a, C, A> AdvertiserMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `query(...)` /// // to build up your call. @@ -9247,6 +9264,7 @@ impl<'a, C, A> DimensionValueMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -9257,9 +9275,9 @@ impl<'a, C, A> DimensionValueMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -9392,6 +9410,7 @@ impl<'a, C, A> FloodlightActivityGroupMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -9402,9 +9421,9 @@ impl<'a, C, A> FloodlightActivityGroupMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -9450,6 +9469,7 @@ impl<'a, C, A> MetroMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -9460,9 +9480,9 @@ impl<'a, C, A> MetroMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -9538,6 +9558,7 @@ impl<'a, C, A> OrderMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -9548,9 +9569,9 @@ impl<'a, C, A> OrderMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -9596,6 +9617,7 @@ impl<'a, C, A> LanguageMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -9606,9 +9628,9 @@ impl<'a, C, A> LanguageMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -9680,6 +9702,7 @@ impl<'a, C, A> DirectorySiteContactMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -9690,9 +9713,9 @@ impl<'a, C, A> DirectorySiteContactMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -9750,6 +9773,7 @@ impl<'a, C, A> UserProfileMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -9760,9 +9784,9 @@ impl<'a, C, A> UserProfileMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -9909,6 +9933,7 @@ impl<'a, C, A> AdMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -9919,9 +9944,9 @@ impl<'a, C, A> AdMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -9986,6 +10011,7 @@ impl<'a, C, A> AccountPermissionMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -9996,9 +10022,9 @@ impl<'a, C, A> AccountPermissionMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -10063,6 +10089,7 @@ impl<'a, C, A> ConnectionTypeMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -10073,9 +10100,9 @@ impl<'a, C, A> ConnectionTypeMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -10148,6 +10175,7 @@ impl<'a, C, A> TargetableRemarketingListMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -10158,9 +10186,9 @@ impl<'a, C, A> TargetableRemarketingListMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -10309,6 +10337,7 @@ impl<'a, C, A> AdvertiserGroupMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -10319,9 +10348,9 @@ impl<'a, C, A> AdvertiserGroupMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -10460,6 +10489,7 @@ impl<'a, C, A> SiteMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -10470,9 +10500,9 @@ impl<'a, C, A> SiteMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `generatetag(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -10646,6 +10676,7 @@ impl<'a, C, A> FloodlightActivityMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -10656,9 +10687,9 @@ impl<'a, C, A> FloodlightActivityMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -10704,6 +10735,7 @@ impl<'a, C, A> RegionMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -10714,9 +10746,9 @@ impl<'a, C, A> RegionMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -10848,6 +10880,7 @@ impl<'a, C, A> CreativeGroupMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -10858,9 +10891,9 @@ impl<'a, C, A> CreativeGroupMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -10991,6 +11024,7 @@ impl<'a, C, A> TargetingTemplateMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -11001,9 +11035,9 @@ impl<'a, C, A> TargetingTemplateMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -11133,6 +11167,7 @@ impl<'a, C, A> SubaccountMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -11143,9 +11178,9 @@ impl<'a, C, A> SubaccountMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11210,6 +11245,7 @@ impl<'a, C, A> MobileCarrierMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -11220,9 +11256,9 @@ impl<'a, C, A> MobileCarrierMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -11328,6 +11364,7 @@ impl<'a, C, A> FloodlightConfigurationMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -11338,9 +11375,9 @@ impl<'a, C, A> FloodlightConfigurationMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11405,6 +11442,7 @@ impl<'a, C, A> OperatingSystemMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -11415,9 +11453,9 @@ impl<'a, C, A> OperatingSystemMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11487,6 +11525,7 @@ impl<'a, C, A> FileMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -11497,9 +11536,9 @@ impl<'a, C, A> FileMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -11642,6 +11681,7 @@ impl<'a, C, A> PlacementGroupMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -11652,9 +11692,9 @@ impl<'a, C, A> PlacementGroupMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11732,6 +11772,7 @@ impl<'a, C, A> InventoryItemMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -11742,9 +11783,9 @@ impl<'a, C, A> InventoryItemMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11810,6 +11851,7 @@ impl<'a, C, A> UserRolePermissionMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -11820,9 +11862,9 @@ impl<'a, C, A> UserRolePermissionMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11887,6 +11929,7 @@ impl<'a, C, A> AccountPermissionGroupMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -11897,9 +11940,9 @@ impl<'a, C, A> AccountPermissionGroupMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -12048,6 +12091,7 @@ impl<'a, C, A> ContentCategoryMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -12058,9 +12102,9 @@ impl<'a, C, A> ContentCategoryMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -12200,6 +12244,7 @@ impl<'a, C, A> CreativeMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -12210,9 +12255,9 @@ impl<'a, C, A> CreativeMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -12353,6 +12398,7 @@ impl<'a, C, A> CampaignMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -12363,9 +12409,9 @@ impl<'a, C, A> CampaignMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -12518,6 +12564,7 @@ impl<'a, C, A> EventTagMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -12528,9 +12575,9 @@ impl<'a, C, A> EventTagMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -12663,6 +12710,7 @@ impl<'a, C, A> RemarketingListMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -12673,9 +12721,9 @@ impl<'a, C, A> RemarketingListMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -12725,6 +12773,7 @@ impl<'a, C, A> CityMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -12735,9 +12784,9 @@ impl<'a, C, A> CityMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -12886,6 +12935,7 @@ impl<'a, C, A> PlacementStrategyMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -12896,9 +12946,9 @@ impl<'a, C, A> PlacementStrategyMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -12970,6 +13020,7 @@ impl<'a, C, A> ProjectMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -12980,9 +13031,9 @@ impl<'a, C, A> ProjectMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -13079,6 +13130,7 @@ impl<'a, C, A> DirectorySiteMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -13089,9 +13141,9 @@ impl<'a, C, A> DirectorySiteMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -13156,6 +13208,7 @@ impl<'a, C, A> VideoFormatMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -13166,9 +13219,9 @@ impl<'a, C, A> VideoFormatMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -13260,6 +13313,7 @@ impl<'a, C, A> DynamicTargetingKeyMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -13270,9 +13324,9 @@ impl<'a, C, A> DynamicTargetingKeyMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -13360,6 +13414,7 @@ impl<'a, C, A> SizeMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -13370,9 +13425,9 @@ impl<'a, C, A> SizeMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -13420,6 +13475,7 @@ impl<'a, C, A> AccountActiveAdSummaryMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -13430,9 +13486,9 @@ impl<'a, C, A> AccountActiveAdSummaryMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -13565,6 +13621,7 @@ impl<'a, C, A> AccountUserProfileMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -13575,9 +13632,9 @@ impl<'a, C, A> AccountUserProfileMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -13642,6 +13699,7 @@ impl<'a, C, A> CountryMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -13652,9 +13710,9 @@ impl<'a, C, A> CountryMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -13815,6 +13873,7 @@ impl<'a, C, A> CreativeFieldValueMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -13825,9 +13884,9 @@ impl<'a, C, A> CreativeFieldValueMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -13892,6 +13951,7 @@ impl<'a, C, A> PostalCodeMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -13902,9 +13962,9 @@ impl<'a, C, A> PostalCodeMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -13950,6 +14010,7 @@ impl<'a, C, A> BrowserMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -13960,9 +14021,9 @@ impl<'a, C, A> BrowserMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -14074,6 +14135,7 @@ impl<'a, C, A> AccountMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dfareporting2d7 as dfareporting2d7; /// @@ -14084,9 +14146,9 @@ impl<'a, C, A> AccountMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `generatetags(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -14260,6 +14322,7 @@ impl<'a, C, A> PlacementMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// use dfareporting2d7::ConversionsBatchInsertRequest; @@ -14270,9 +14333,9 @@ impl<'a, C, A> PlacementMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14526,6 +14589,7 @@ impl<'a, C, A> ConversionBatchinsertCall<'a, C, A> where C: BorrowMut ConversionBatchinsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14773,6 +14837,7 @@ impl<'a, C, A> UserRolePermissionGroupGetCall<'a, C, A> where C: BorrowMut UserRolePermissionGroupGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15008,6 +15073,7 @@ impl<'a, C, A> UserRolePermissionGroupListCall<'a, C, A> where C: BorrowMut UserRolePermissionGroupListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15255,6 +15321,7 @@ impl<'a, C, A> PlatformTypeGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -15264,9 +15331,9 @@ impl<'a, C, A> PlatformTypeGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15490,6 +15557,7 @@ impl<'a, C, A> PlatformTypeListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -15499,9 +15567,9 @@ impl<'a, C, A> PlatformTypeListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15749,6 +15817,7 @@ impl<'a, C, A> OrderDocumentGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -15758,9 +15827,9 @@ impl<'a, C, A> OrderDocumentGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16113,6 +16182,7 @@ impl<'a, C, A> OrderDocumentListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// use dfareporting2d7::CreativeField; @@ -16123,9 +16193,9 @@ impl<'a, C, A> OrderDocumentListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16379,6 +16449,7 @@ impl<'a, C, A> CreativeFieldUpdateCall<'a, C, A> where C: BorrowMut CreativeFieldUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16704,6 +16775,7 @@ impl<'a, C, A> CreativeFieldListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -16713,9 +16785,9 @@ impl<'a, C, A> CreativeFieldListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16940,6 +17012,7 @@ impl<'a, C, A> CreativeFieldDeleteCall<'a, C, A> where C: BorrowMut CreativeFieldDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17187,6 +17260,7 @@ impl<'a, C, A> CreativeFieldGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// use dfareporting2d7::CreativeField; @@ -17197,9 +17271,9 @@ impl<'a, C, A> CreativeFieldGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17453,6 +17527,7 @@ impl<'a, C, A> CreativeFieldInsertCall<'a, C, A> where C: BorrowMut CreativeFieldInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17731,6 +17806,7 @@ impl<'a, C, A> CreativeFieldPatchCall<'a, C, A> where C: BorrowMut CreativeFieldPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17997,6 +18073,7 @@ impl<'a, C, A> UserRoleInsertCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -18006,9 +18083,9 @@ impl<'a, C, A> UserRoleInsertCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18244,6 +18321,7 @@ impl<'a, C, A> UserRoleGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// use dfareporting2d7::UserRole; @@ -18254,9 +18332,9 @@ impl<'a, C, A> UserRoleGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18510,6 +18588,7 @@ impl<'a, C, A> UserRoleUpdateCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -18519,9 +18598,9 @@ impl<'a, C, A> UserRoleUpdateCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18746,6 +18825,7 @@ impl<'a, C, A> UserRoleDeleteCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// use dfareporting2d7::UserRole; @@ -18756,9 +18836,9 @@ impl<'a, C, A> UserRoleDeleteCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19024,6 +19104,7 @@ impl<'a, C, A> UserRolePatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -19033,9 +19114,9 @@ impl<'a, C, A> UserRolePatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19358,6 +19439,7 @@ impl<'a, C, A> UserRoleListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -19367,9 +19449,9 @@ impl<'a, C, A> UserRoleListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19605,6 +19687,7 @@ impl<'a, C, A> OperatingSystemVersionGetCall<'a, C, A> where C: BorrowMut OperatingSystemVersionGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19840,6 +19923,7 @@ impl<'a, C, A> OperatingSystemVersionListCall<'a, C, A> where C: BorrowMut OperatingSystemVersionListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20099,6 +20183,7 @@ impl<'a, C, A> LandingPageGetCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// use dfareporting2d7::LandingPage; @@ -20109,9 +20194,9 @@ impl<'a, C, A> LandingPageGetCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20377,6 +20462,7 @@ impl<'a, C, A> LandingPageUpdateCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -20386,9 +20472,9 @@ impl<'a, C, A> LandingPageUpdateCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20624,6 +20710,7 @@ impl<'a, C, A> LandingPageListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// use dfareporting2d7::LandingPage; @@ -20634,9 +20721,9 @@ impl<'a, C, A> LandingPageListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20902,6 +20989,7 @@ impl<'a, C, A> LandingPageInsertCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// use dfareporting2d7::LandingPage; @@ -20912,9 +21000,9 @@ impl<'a, C, A> LandingPageInsertCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21192,6 +21280,7 @@ impl<'a, C, A> LandingPagePatchCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -21201,9 +21290,9 @@ impl<'a, C, A> LandingPagePatchCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21440,6 +21529,7 @@ impl<'a, C, A> LandingPageDeleteCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// use dfareporting2d7::CreativeAssetMetadata; @@ -21451,9 +21541,9 @@ impl<'a, C, A> LandingPageDeleteCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21832,6 +21922,7 @@ impl<'a, C, A> CreativeAssetInsertCall<'a, C, A> where C: BorrowMut CreativeAssetInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -22110,6 +22201,7 @@ impl<'a, C, A> CampaignCreativeAssociationInsertCall<'a, C, A> where C: BorrowMu /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -22119,9 +22211,9 @@ impl<'a, C, A> CampaignCreativeAssociationInsertCall<'a, C, A> where C: BorrowMu /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22393,6 +22485,7 @@ impl<'a, C, A> CampaignCreativeAssociationListCall<'a, C, A> where C: BorrowMut< /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -22402,9 +22495,9 @@ impl<'a, C, A> CampaignCreativeAssociationListCall<'a, C, A> where C: BorrowMut< /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22757,6 +22850,7 @@ impl<'a, C, A> ChangeLogListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -22766,9 +22860,9 @@ impl<'a, C, A> ChangeLogListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23004,6 +23098,7 @@ impl<'a, C, A> ChangeLogGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -23013,9 +23108,9 @@ impl<'a, C, A> ChangeLogGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23251,6 +23346,7 @@ impl<'a, C, A> RemarketingListShareGetCall<'a, C, A> where C: BorrowMut RemarketingListShareGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23529,6 +23625,7 @@ impl<'a, C, A> RemarketingListSharePatchCall<'a, C, A> where C: BorrowMut RemarketingListSharePatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23795,6 +23892,7 @@ impl<'a, C, A> RemarketingListShareUpdateCall<'a, C, A> where C: BorrowMut RemarketingListShareUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -24054,6 +24152,7 @@ impl<'a, C, A> ReportRunCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// use dfareporting2d7::Report; @@ -24064,9 +24163,9 @@ impl<'a, C, A> ReportRunCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24332,6 +24431,7 @@ impl<'a, C, A> ReportPatchCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -24341,9 +24441,9 @@ impl<'a, C, A> ReportPatchCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -24627,6 +24727,7 @@ impl<'a, C, A> ReportFileListCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// use dfareporting2d7::Report; @@ -24637,9 +24738,9 @@ impl<'a, C, A> ReportFileListCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24893,6 +24994,7 @@ impl<'a, C, A> ReportInsertCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// use dfareporting2d7::Report; @@ -24903,9 +25005,9 @@ impl<'a, C, A> ReportInsertCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -25159,6 +25261,7 @@ impl<'a, C, A> ReportCompatibleFieldQueryCall<'a, C, A> where C: BorrowMut ReportCompatibleFieldQueryCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25411,6 +25514,7 @@ impl<'a, C, A> ReportGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -25420,9 +25524,9 @@ impl<'a, C, A> ReportGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25686,6 +25790,7 @@ impl<'a, C, A> ReportFileGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -25695,9 +25800,9 @@ impl<'a, C, A> ReportFileGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25922,6 +26027,7 @@ impl<'a, C, A> ReportDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// use dfareporting2d7::Report; @@ -25932,9 +26038,9 @@ impl<'a, C, A> ReportDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -26200,6 +26306,7 @@ impl<'a, C, A> ReportUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -26209,9 +26316,9 @@ impl<'a, C, A> ReportUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -26495,6 +26602,7 @@ impl<'a, C, A> ReportListCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// use dfareporting2d7::Advertiser; @@ -26505,9 +26613,9 @@ impl<'a, C, A> ReportListCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -26761,6 +26869,7 @@ impl<'a, C, A> AdvertiserInsertCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// use dfareporting2d7::Advertiser; @@ -26771,9 +26880,9 @@ impl<'a, C, A> AdvertiserInsertCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -27039,6 +27148,7 @@ impl<'a, C, A> AdvertiserPatchCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -27048,9 +27158,9 @@ impl<'a, C, A> AdvertiserPatchCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -27427,6 +27537,7 @@ impl<'a, C, A> AdvertiserListCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// use dfareporting2d7::Advertiser; @@ -27437,9 +27548,9 @@ impl<'a, C, A> AdvertiserListCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -27693,6 +27804,7 @@ impl<'a, C, A> AdvertiserUpdateCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -27702,9 +27814,9 @@ impl<'a, C, A> AdvertiserUpdateCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -27940,6 +28052,7 @@ impl<'a, C, A> AdvertiserGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// use dfareporting2d7::DimensionValueRequest; @@ -27950,9 +28063,9 @@ impl<'a, C, A> AdvertiserGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -28230,6 +28343,7 @@ impl<'a, C, A> DimensionValueQueryCall<'a, C, A> where C: BorrowMut DimensionValueQueryCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -28477,6 +28591,7 @@ impl<'a, C, A> FloodlightActivityGroupGetCall<'a, C, A> where C: BorrowMut FloodlightActivityGroupGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -28755,6 +28870,7 @@ impl<'a, C, A> FloodlightActivityGroupPatchCall<'a, C, A> where C: BorrowMut FloodlightActivityGroupPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -29101,6 +29217,7 @@ impl<'a, C, A> FloodlightActivityGroupListCall<'a, C, A> where C: BorrowMut FloodlightActivityGroupListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -29367,6 +29484,7 @@ impl<'a, C, A> FloodlightActivityGroupInsertCall<'a, C, A> where C: BorrowMut FloodlightActivityGroupInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -29633,6 +29751,7 @@ impl<'a, C, A> FloodlightActivityGroupUpdateCall<'a, C, A> where C: BorrowMut FloodlightActivityGroupUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -29868,6 +29987,7 @@ impl<'a, C, A> MetroListCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -29877,9 +29997,9 @@ impl<'a, C, A> MetroListCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30205,6 +30325,7 @@ impl<'a, C, A> OrderListCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -30214,9 +30335,9 @@ impl<'a, C, A> OrderListCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30464,6 +30585,7 @@ impl<'a, C, A> OrderGetCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -30473,9 +30595,9 @@ impl<'a, C, A> OrderGetCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30699,6 +30821,7 @@ impl<'a, C, A> LanguageListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -30708,9 +30831,9 @@ impl<'a, C, A> LanguageListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30946,6 +31069,7 @@ impl<'a, C, A> DirectorySiteContactGetCall<'a, C, A> where C: BorrowMut DirectorySiteContactGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -31271,6 +31395,7 @@ impl<'a, C, A> DirectorySiteContactListCall<'a, C, A> where C: BorrowMut DirectorySiteContactListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -31473,6 +31598,7 @@ impl<'a, C, A> UserProfileListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -31482,9 +31608,9 @@ impl<'a, C, A> UserProfileListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -31708,6 +31834,7 @@ impl<'a, C, A> UserProfileGetCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// use dfareporting2d7::Ad; @@ -31718,9 +31845,9 @@ impl<'a, C, A> UserProfileGetCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -31986,6 +32113,7 @@ impl<'a, C, A> AdPatchCall<'a, C, A> where C: BorrowMut, A: oauth /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// use dfareporting2d7::Ad; @@ -31996,9 +32124,9 @@ impl<'a, C, A> AdPatchCall<'a, C, A> where C: BorrowMut, A: oauth /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -32252,6 +32380,7 @@ impl<'a, C, A> AdInsertCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -32261,9 +32390,9 @@ impl<'a, C, A> AdInsertCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -32793,6 +32922,7 @@ impl<'a, C, A> AdListCall<'a, C, A> where C: BorrowMut, A: oauth2 /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -32802,9 +32932,9 @@ impl<'a, C, A> AdListCall<'a, C, A> where C: BorrowMut, A: oauth2 /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -33040,6 +33170,7 @@ impl<'a, C, A> AdGetCall<'a, C, A> where C: BorrowMut, A: oauth2: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// use dfareporting2d7::Ad; @@ -33050,9 +33181,9 @@ impl<'a, C, A> AdGetCall<'a, C, A> where C: BorrowMut, A: oauth2: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -33306,6 +33437,7 @@ impl<'a, C, A> AdUpdateCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -33315,9 +33447,9 @@ impl<'a, C, A> AdUpdateCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -33553,6 +33685,7 @@ impl<'a, C, A> AccountPermissionGetCall<'a, C, A> where C: BorrowMut AccountPermissionGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -33788,6 +33921,7 @@ impl<'a, C, A> AccountPermissionListCall<'a, C, A> where C: BorrowMut AccountPermissionListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -34023,6 +34157,7 @@ impl<'a, C, A> ConnectionTypeListCall<'a, C, A> where C: BorrowMut ConnectionTypeListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -34270,6 +34405,7 @@ impl<'a, C, A> ConnectionTypeGetCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -34279,9 +34415,9 @@ impl<'a, C, A> ConnectionTypeGetCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -34589,6 +34725,7 @@ impl<'a, C, A> TargetableRemarketingListListCall<'a, C, A> where C: BorrowMut TargetableRemarketingListListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -34836,6 +34973,7 @@ impl<'a, C, A> TargetableRemarketingListGetCall<'a, C, A> where C: BorrowMut TargetableRemarketingListGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -35083,6 +35221,7 @@ impl<'a, C, A> AdvertiserGroupGetCall<'a, C, A> where C: BorrowMut AdvertiserGroupGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -35393,6 +35532,7 @@ impl<'a, C, A> AdvertiserGroupListCall<'a, C, A> where C: BorrowMut AdvertiserGroupListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -35659,6 +35799,7 @@ impl<'a, C, A> AdvertiserGroupInsertCall<'a, C, A> where C: BorrowMut AdvertiserGroupInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -35925,6 +36066,7 @@ impl<'a, C, A> AdvertiserGroupUpdateCall<'a, C, A> where C: BorrowMut AdvertiserGroupUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -36203,6 +36345,7 @@ impl<'a, C, A> AdvertiserGroupPatchCall<'a, C, A> where C: BorrowMut AdvertiserGroupPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -36439,6 +36582,7 @@ impl<'a, C, A> AdvertiserGroupDeleteCall<'a, C, A> where C: BorrowMut AdvertiserGroupDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -36705,6 +36849,7 @@ impl<'a, C, A> SiteInsertCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -36714,9 +36859,9 @@ impl<'a, C, A> SiteInsertCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -36952,6 +37097,7 @@ impl<'a, C, A> SiteGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -36961,9 +37107,9 @@ impl<'a, C, A> SiteGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -37376,6 +37522,7 @@ impl<'a, C, A> SiteListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// use dfareporting2d7::Site; @@ -37386,9 +37533,9 @@ impl<'a, C, A> SiteListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -37642,6 +37789,7 @@ impl<'a, C, A> SiteUpdateCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// use dfareporting2d7::Site; @@ -37652,9 +37800,9 @@ impl<'a, C, A> SiteUpdateCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -37920,6 +38068,7 @@ impl<'a, C, A> SitePatchCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -37929,9 +38078,9 @@ impl<'a, C, A> SitePatchCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -38167,6 +38316,7 @@ impl<'a, C, A> FloodlightActivityGetCall<'a, C, A> where C: BorrowMut FloodlightActivityGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -38564,6 +38714,7 @@ impl<'a, C, A> FloodlightActivityListCall<'a, C, A> where C: BorrowMut FloodlightActivityListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -38830,6 +38981,7 @@ impl<'a, C, A> FloodlightActivityInsertCall<'a, C, A> where C: BorrowMut FloodlightActivityInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -39066,6 +39218,7 @@ impl<'a, C, A> FloodlightActivityDeleteCall<'a, C, A> where C: BorrowMut FloodlightActivityDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -39344,6 +39497,7 @@ impl<'a, C, A> FloodlightActivityPatchCall<'a, C, A> where C: BorrowMut FloodlightActivityPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -39591,6 +39745,7 @@ impl<'a, C, A> FloodlightActivityGeneratetagCall<'a, C, A> where C: BorrowMut FloodlightActivityGeneratetagCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -39857,6 +40012,7 @@ impl<'a, C, A> FloodlightActivityUpdateCall<'a, C, A> where C: BorrowMut FloodlightActivityUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -40092,6 +40248,7 @@ impl<'a, C, A> RegionListCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// use dfareporting2d7::CreativeGroup; @@ -40102,9 +40259,9 @@ impl<'a, C, A> RegionListCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -40358,6 +40515,7 @@ impl<'a, C, A> CreativeGroupInsertCall<'a, C, A> where C: BorrowMut CreativeGroupInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -40605,6 +40763,7 @@ impl<'a, C, A> CreativeGroupGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// use dfareporting2d7::CreativeGroup; @@ -40615,9 +40774,9 @@ impl<'a, C, A> CreativeGroupGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -40871,6 +41030,7 @@ impl<'a, C, A> CreativeGroupUpdateCall<'a, C, A> where C: BorrowMut CreativeGroupUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -41208,6 +41368,7 @@ impl<'a, C, A> CreativeGroupListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// use dfareporting2d7::CreativeGroup; @@ -41218,9 +41379,9 @@ impl<'a, C, A> CreativeGroupListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -41486,6 +41647,7 @@ impl<'a, C, A> CreativeGroupPatchCall<'a, C, A> where C: BorrowMut CreativeGroupPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -41764,6 +41926,7 @@ impl<'a, C, A> TargetingTemplatePatchCall<'a, C, A> where C: BorrowMut TargetingTemplatePatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -42086,6 +42249,7 @@ impl<'a, C, A> TargetingTemplateListCall<'a, C, A> where C: BorrowMut TargetingTemplateListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -42333,6 +42497,7 @@ impl<'a, C, A> TargetingTemplateGetCall<'a, C, A> where C: BorrowMut TargetingTemplateGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -42599,6 +42764,7 @@ impl<'a, C, A> TargetingTemplateInsertCall<'a, C, A> where C: BorrowMut TargetingTemplateInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -42865,6 +43031,7 @@ impl<'a, C, A> TargetingTemplateUpdateCall<'a, C, A> where C: BorrowMut TargetingTemplateUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -43143,6 +43310,7 @@ impl<'a, C, A> SubaccountPatchCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// use dfareporting2d7::Subaccount; @@ -43153,9 +43321,9 @@ impl<'a, C, A> SubaccountPatchCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -43409,6 +43577,7 @@ impl<'a, C, A> SubaccountInsertCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// use dfareporting2d7::Subaccount; @@ -43419,9 +43588,9 @@ impl<'a, C, A> SubaccountInsertCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -43675,6 +43844,7 @@ impl<'a, C, A> SubaccountUpdateCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -43684,9 +43854,9 @@ impl<'a, C, A> SubaccountUpdateCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -43985,6 +44155,7 @@ impl<'a, C, A> SubaccountListCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -43994,9 +44165,9 @@ impl<'a, C, A> SubaccountListCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -44232,6 +44403,7 @@ impl<'a, C, A> SubaccountGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -44241,9 +44413,9 @@ impl<'a, C, A> SubaccountGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -44479,6 +44651,7 @@ impl<'a, C, A> MobileCarrierGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -44488,9 +44661,9 @@ impl<'a, C, A> MobileCarrierGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -44714,6 +44887,7 @@ impl<'a, C, A> MobileCarrierListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -44723,9 +44897,9 @@ impl<'a, C, A> MobileCarrierListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -44961,6 +45135,7 @@ impl<'a, C, A> FloodlightConfigurationGetCall<'a, C, A> where C: BorrowMut FloodlightConfigurationGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -45227,6 +45402,7 @@ impl<'a, C, A> FloodlightConfigurationUpdateCall<'a, C, A> where C: BorrowMut FloodlightConfigurationUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -45505,6 +45681,7 @@ impl<'a, C, A> FloodlightConfigurationPatchCall<'a, C, A> where C: BorrowMut FloodlightConfigurationPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -45755,6 +45932,7 @@ impl<'a, C, A> FloodlightConfigurationListCall<'a, C, A> where C: BorrowMut FloodlightConfigurationListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -45990,6 +46168,7 @@ impl<'a, C, A> OperatingSystemListCall<'a, C, A> where C: BorrowMut OperatingSystemListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -46237,6 +46416,7 @@ impl<'a, C, A> OperatingSystemGetCall<'a, C, A> where C: BorrowMut OperatingSystemGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -46537,6 +46717,7 @@ impl<'a, C, A> FileListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -46546,9 +46727,9 @@ impl<'a, C, A> FileListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -46800,6 +46981,7 @@ impl<'a, C, A> FileGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -46809,9 +46991,9 @@ impl<'a, C, A> FileGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -47287,6 +47469,7 @@ impl<'a, C, A> PlacementGroupListCall<'a, C, A> where C: BorrowMut PlacementGroupListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -47553,6 +47736,7 @@ impl<'a, C, A> PlacementGroupUpdateCall<'a, C, A> where C: BorrowMut PlacementGroupUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -47819,6 +48003,7 @@ impl<'a, C, A> PlacementGroupInsertCall<'a, C, A> where C: BorrowMut PlacementGroupInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -48066,6 +48251,7 @@ impl<'a, C, A> PlacementGroupGetCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// use dfareporting2d7::PlacementGroup; @@ -48076,9 +48262,9 @@ impl<'a, C, A> PlacementGroupGetCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -48344,6 +48530,7 @@ impl<'a, C, A> PlacementGroupPatchCall<'a, C, A> where C: BorrowMut PlacementGroupPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -48708,6 +48895,7 @@ impl<'a, C, A> InventoryItemListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -48717,9 +48905,9 @@ impl<'a, C, A> InventoryItemListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -48967,6 +49155,7 @@ impl<'a, C, A> InventoryItemGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -48976,9 +49165,9 @@ impl<'a, C, A> InventoryItemGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -49214,6 +49403,7 @@ impl<'a, C, A> UserRolePermissionGetCall<'a, C, A> where C: BorrowMut UserRolePermissionGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -49464,6 +49654,7 @@ impl<'a, C, A> UserRolePermissionListCall<'a, C, A> where C: BorrowMut UserRolePermissionListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -49699,6 +49890,7 @@ impl<'a, C, A> AccountPermissionGroupListCall<'a, C, A> where C: BorrowMut AccountPermissionGroupListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -49946,6 +50138,7 @@ impl<'a, C, A> AccountPermissionGroupGetCall<'a, C, A> where C: BorrowMut AccountPermissionGroupGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -50256,6 +50449,7 @@ impl<'a, C, A> ContentCategoryListCall<'a, C, A> where C: BorrowMut ContentCategoryListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -50522,6 +50716,7 @@ impl<'a, C, A> ContentCategoryUpdateCall<'a, C, A> where C: BorrowMut ContentCategoryUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -50788,6 +50983,7 @@ impl<'a, C, A> ContentCategoryInsertCall<'a, C, A> where C: BorrowMut ContentCategoryInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -51024,6 +51220,7 @@ impl<'a, C, A> ContentCategoryDeleteCall<'a, C, A> where C: BorrowMut ContentCategoryDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -51271,6 +51468,7 @@ impl<'a, C, A> ContentCategoryGetCall<'a, C, A> where C: BorrowMut ContentCategoryGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -51549,6 +51747,7 @@ impl<'a, C, A> ContentCategoryPatchCall<'a, C, A> where C: BorrowMut ContentCategoryPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -51815,6 +52014,7 @@ impl<'a, C, A> CreativeUpdateCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// use dfareporting2d7::Creative; @@ -51825,9 +52025,9 @@ impl<'a, C, A> CreativeUpdateCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -52081,6 +52281,7 @@ impl<'a, C, A> CreativeInsertCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -52090,9 +52291,9 @@ impl<'a, C, A> CreativeInsertCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -52328,6 +52529,7 @@ impl<'a, C, A> CreativeGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -52337,9 +52539,9 @@ impl<'a, C, A> CreativeGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -52773,6 +52975,7 @@ impl<'a, C, A> CreativeListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// use dfareporting2d7::Creative; @@ -52783,9 +52986,9 @@ impl<'a, C, A> CreativeListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -53051,6 +53254,7 @@ impl<'a, C, A> CreativePatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -53060,9 +53264,9 @@ impl<'a, C, A> CreativePatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -53298,6 +53502,7 @@ impl<'a, C, A> CampaignGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// use dfareporting2d7::Campaign; @@ -53308,9 +53513,9 @@ impl<'a, C, A> CampaignGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -53588,6 +53793,7 @@ impl<'a, C, A> CampaignInsertCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// use dfareporting2d7::Campaign; @@ -53598,9 +53804,9 @@ impl<'a, C, A> CampaignInsertCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -53866,6 +54072,7 @@ impl<'a, C, A> CampaignPatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// use dfareporting2d7::Campaign; @@ -53876,9 +54083,9 @@ impl<'a, C, A> CampaignPatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -54132,6 +54339,7 @@ impl<'a, C, A> CampaignUpdateCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -54141,9 +54349,9 @@ impl<'a, C, A> CampaignUpdateCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -54535,6 +54743,7 @@ impl<'a, C, A> CampaignListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -54544,9 +54753,9 @@ impl<'a, C, A> CampaignListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -54771,6 +54980,7 @@ impl<'a, C, A> EventTagDeleteCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -54780,9 +54990,9 @@ impl<'a, C, A> EventTagDeleteCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -55132,6 +55342,7 @@ impl<'a, C, A> EventTagListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// use dfareporting2d7::EventTag; @@ -55142,9 +55353,9 @@ impl<'a, C, A> EventTagListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -55398,6 +55609,7 @@ impl<'a, C, A> EventTagInsertCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// use dfareporting2d7::EventTag; @@ -55408,9 +55620,9 @@ impl<'a, C, A> EventTagInsertCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -55676,6 +55888,7 @@ impl<'a, C, A> EventTagPatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// use dfareporting2d7::EventTag; @@ -55686,9 +55899,9 @@ impl<'a, C, A> EventTagPatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -55942,6 +56155,7 @@ impl<'a, C, A> EventTagUpdateCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -55951,9 +56165,9 @@ impl<'a, C, A> EventTagUpdateCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -56189,6 +56403,7 @@ impl<'a, C, A> EventTagGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -56198,9 +56413,9 @@ impl<'a, C, A> EventTagGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -56436,6 +56651,7 @@ impl<'a, C, A> RemarketingListGetCall<'a, C, A> where C: BorrowMut RemarketingListGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -56702,6 +56918,7 @@ impl<'a, C, A> RemarketingListUpdateCall<'a, C, A> where C: BorrowMut RemarketingListUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -57033,6 +57250,7 @@ impl<'a, C, A> RemarketingListListCall<'a, C, A> where C: BorrowMut RemarketingListListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -57311,6 +57529,7 @@ impl<'a, C, A> RemarketingListPatchCall<'a, C, A> where C: BorrowMut RemarketingListPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -57577,6 +57796,7 @@ impl<'a, C, A> RemarketingListInsertCall<'a, C, A> where C: BorrowMut RemarketingListInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -57869,6 +58089,7 @@ impl<'a, C, A> CityListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// use dfareporting2d7::PlacementStrategy; @@ -57879,9 +58100,9 @@ impl<'a, C, A> CityListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -58135,6 +58356,7 @@ impl<'a, C, A> PlacementStrategyUpdateCall<'a, C, A> where C: BorrowMut PlacementStrategyUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -58382,6 +58604,7 @@ impl<'a, C, A> PlacementStrategyGetCall<'a, C, A> where C: BorrowMut PlacementStrategyGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -58692,6 +58915,7 @@ impl<'a, C, A> PlacementStrategyListCall<'a, C, A> where C: BorrowMut PlacementStrategyListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -58928,6 +59152,7 @@ impl<'a, C, A> PlacementStrategyDeleteCall<'a, C, A> where C: BorrowMut PlacementStrategyDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -59194,6 +59419,7 @@ impl<'a, C, A> PlacementStrategyInsertCall<'a, C, A> where C: BorrowMut PlacementStrategyInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -59472,6 +59698,7 @@ impl<'a, C, A> PlacementStrategyPatchCall<'a, C, A> where C: BorrowMut PlacementStrategyPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -59797,6 +60024,7 @@ impl<'a, C, A> ProjectListCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -59806,9 +60034,9 @@ impl<'a, C, A> ProjectListCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -60044,6 +60272,7 @@ impl<'a, C, A> ProjectGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// use dfareporting2d7::DirectorySite; @@ -60054,9 +60283,9 @@ impl<'a, C, A> ProjectGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -60310,6 +60539,7 @@ impl<'a, C, A> DirectorySiteInsertCall<'a, C, A> where C: BorrowMut DirectorySiteInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -60704,6 +60934,7 @@ impl<'a, C, A> DirectorySiteListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -60713,9 +60944,9 @@ impl<'a, C, A> DirectorySiteListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -60951,6 +61182,7 @@ impl<'a, C, A> DirectorySiteGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -60960,9 +61192,9 @@ impl<'a, C, A> DirectorySiteGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -61198,6 +61430,7 @@ impl<'a, C, A> VideoFormatGetCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -61207,9 +61440,9 @@ impl<'a, C, A> VideoFormatGetCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -61433,6 +61666,7 @@ impl<'a, C, A> VideoFormatListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -61442,9 +61676,9 @@ impl<'a, C, A> VideoFormatListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -61693,6 +61927,7 @@ impl<'a, C, A> DynamicTargetingKeyDeleteCall<'a, C, A> where C: BorrowMut DynamicTargetingKeyDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -61979,6 +62214,7 @@ impl<'a, C, A> DynamicTargetingKeyListCall<'a, C, A> where C: BorrowMut DynamicTargetingKeyListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -62245,6 +62481,7 @@ impl<'a, C, A> DynamicTargetingKeyInsertCall<'a, C, A> where C: BorrowMut DynamicTargetingKeyInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -62511,6 +62748,7 @@ impl<'a, C, A> SizeInsertCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -62520,9 +62758,9 @@ impl<'a, C, A> SizeInsertCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -62797,6 +63035,7 @@ impl<'a, C, A> SizeListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -62806,9 +63045,9 @@ impl<'a, C, A> SizeListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -63044,6 +63283,7 @@ impl<'a, C, A> SizeGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -63053,9 +63293,9 @@ impl<'a, C, A> SizeGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -63291,6 +63531,7 @@ impl<'a, C, A> AccountActiveAdSummaryGetCall<'a, C, A> where C: BorrowMut AccountActiveAdSummaryGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -63557,6 +63798,7 @@ impl<'a, C, A> AccountUserProfileUpdateCall<'a, C, A> where C: BorrowMut AccountUserProfileUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -63903,6 +64145,7 @@ impl<'a, C, A> AccountUserProfileListCall<'a, C, A> where C: BorrowMut AccountUserProfileListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -64169,6 +64412,7 @@ impl<'a, C, A> AccountUserProfileInsertCall<'a, C, A> where C: BorrowMut AccountUserProfileInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -64447,6 +64691,7 @@ impl<'a, C, A> AccountUserProfilePatchCall<'a, C, A> where C: BorrowMut AccountUserProfilePatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -64694,6 +64939,7 @@ impl<'a, C, A> AccountUserProfileGetCall<'a, C, A> where C: BorrowMut AccountUserProfileGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -64929,6 +65175,7 @@ impl<'a, C, A> CountryListCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -64938,9 +65185,9 @@ impl<'a, C, A> CountryListCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -65176,6 +65423,7 @@ impl<'a, C, A> CountryGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// use dfareporting2d7::CreativeFieldValue; @@ -65186,9 +65434,9 @@ impl<'a, C, A> CountryGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -65466,6 +65714,7 @@ impl<'a, C, A> CreativeFieldValuePatchCall<'a, C, A> where C: BorrowMut CreativeFieldValuePatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -65725,6 +65974,7 @@ impl<'a, C, A> CreativeFieldValueGetCall<'a, C, A> where C: BorrowMut CreativeFieldValueGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -65973,6 +66223,7 @@ impl<'a, C, A> CreativeFieldValueDeleteCall<'a, C, A> where C: BorrowMut CreativeFieldValueDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -66251,6 +66502,7 @@ impl<'a, C, A> CreativeFieldValueInsertCall<'a, C, A> where C: BorrowMut CreativeFieldValueInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -66529,6 +66781,7 @@ impl<'a, C, A> CreativeFieldValueUpdateCall<'a, C, A> where C: BorrowMut CreativeFieldValueUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -66851,6 +67104,7 @@ impl<'a, C, A> CreativeFieldValueListCall<'a, C, A> where C: BorrowMut CreativeFieldValueListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -67098,6 +67352,7 @@ impl<'a, C, A> PostalCodeGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -67107,9 +67362,9 @@ impl<'a, C, A> PostalCodeGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -67333,6 +67588,7 @@ impl<'a, C, A> PostalCodeListCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -67342,9 +67598,9 @@ impl<'a, C, A> PostalCodeListCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -67568,6 +67824,7 @@ impl<'a, C, A> BrowserListCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -67577,9 +67834,9 @@ impl<'a, C, A> BrowserListCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -67815,6 +68072,7 @@ impl<'a, C, A> AccountGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -67824,9 +68082,9 @@ impl<'a, C, A> AccountGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -68137,6 +68395,7 @@ impl<'a, C, A> AccountListCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// use dfareporting2d7::Account; @@ -68147,9 +68406,9 @@ impl<'a, C, A> AccountListCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -68403,6 +68662,7 @@ impl<'a, C, A> AccountUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// use dfareporting2d7::Account; @@ -68413,9 +68673,9 @@ impl<'a, C, A> AccountUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -68681,6 +68941,7 @@ impl<'a, C, A> AccountPatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// use dfareporting2d7::Placement; @@ -68691,9 +68952,9 @@ impl<'a, C, A> AccountPatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -68959,6 +69220,7 @@ impl<'a, C, A> PlacementPatchCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -68968,9 +69230,9 @@ impl<'a, C, A> PlacementPatchCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -69491,6 +69753,7 @@ impl<'a, C, A> PlacementListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -69500,9 +69763,9 @@ impl<'a, C, A> PlacementListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -69738,6 +70001,7 @@ impl<'a, C, A> PlacementGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// use dfareporting2d7::Placement; @@ -69748,9 +70012,9 @@ impl<'a, C, A> PlacementGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -70004,6 +70268,7 @@ impl<'a, C, A> PlacementInsertCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// use dfareporting2d7::Placement; @@ -70014,9 +70279,9 @@ impl<'a, C, A> PlacementInsertCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -70270,6 +70535,7 @@ impl<'a, C, A> PlacementUpdateCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dfareporting2d7 as dfareporting2d7; /// # #[test] fn egal() { @@ -70279,9 +70545,9 @@ impl<'a, C, A> PlacementUpdateCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dfareporting::new(hyper::Client::new(), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/discovery1-cli/Cargo.toml b/gen/discovery1-cli/Cargo.toml index 91f3a351d8..0139f1945a 100644 --- a/gen/discovery1-cli/Cargo.toml +++ b/gen/discovery1-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["discovery", "google", "cli"] [[bin]] name = "discovery1" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/discovery1/Cargo.toml b/gen/discovery1/Cargo.toml index 1ed4df4f96..22e508b338 100644 --- a/gen/discovery1/Cargo.toml +++ b/gen/discovery1/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["discovery", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/discovery1/README.md b/gen/discovery1/README.md index 887e24477c..2563cb30a6 100644 --- a/gen/discovery1/README.md +++ b/gen/discovery1/README.md @@ -70,6 +70,7 @@ google-discovery1 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_discovery1 as discovery1; use discovery1::{Result, Error}; @@ -86,9 +87,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Discovery::new(hyper::Client::new(), auth); +let mut hub = Discovery::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! diff --git a/gen/discovery1/src/lib.rs b/gen/discovery1/src/lib.rs index cc041b74e2..65cc6771bd 100644 --- a/gen/discovery1/src/lib.rs +++ b/gen/discovery1/src/lib.rs @@ -70,6 +70,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_discovery1 as discovery1; //! use discovery1::{Result, Error}; @@ -87,9 +88,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Discovery::new(hyper::Client::new(), auth); +//! let mut hub = Discovery::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! @@ -226,6 +227,7 @@ pub use cmn::{MultiPartReader, ToParts, MethodInfo, Result, Error, CallBuilder, /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_discovery1 as discovery1; /// use discovery1::{Result, Error}; @@ -243,9 +245,9 @@ pub use cmn::{MultiPartReader, ToParts, MethodInfo, Result, Error, CallBuilder, /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Discovery::new(hyper::Client::new(), auth); +/// let mut hub = Discovery::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -832,6 +834,7 @@ impl Part for RestMethodMediaUploadProtocolsSimple {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_discovery1 as discovery1; /// @@ -842,9 +845,9 @@ impl Part for RestMethodMediaUploadProtocolsSimple {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Discovery::new(hyper::Client::new(), auth); +/// let mut hub = Discovery::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get_rest(...)` and `list(...)` /// // to build up your call. @@ -912,6 +915,7 @@ impl<'a, C, A> ApiMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_discovery1 as discovery1; /// # #[test] fn egal() { @@ -921,9 +925,9 @@ impl<'a, C, A> ApiMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Discovery::new(hyper::Client::new(), auth); +/// # let mut hub = Discovery::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1125,6 +1129,7 @@ impl<'a, C, A> ApiGetRestCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_discovery1 as discovery1; /// # #[test] fn egal() { @@ -1134,9 +1139,9 @@ impl<'a, C, A> ApiGetRestCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Discovery::new(hyper::Client::new(), auth); +/// # let mut hub = Discovery::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/dns1-cli/Cargo.toml b/gen/dns1-cli/Cargo.toml index d32e03be37..c33d98b327 100644 --- a/gen/dns1-cli/Cargo.toml +++ b/gen/dns1-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["dns", "google", "cli"] [[bin]] name = "dns1" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/dns1/Cargo.toml b/gen/dns1/Cargo.toml index 6010bb5723..fea3c8729d 100644 --- a/gen/dns1/Cargo.toml +++ b/gen/dns1/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["dns", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/dns1/README.md b/gen/dns1/README.md index 85bece4436..6ce8e25ff7 100644 --- a/gen/dns1/README.md +++ b/gen/dns1/README.md @@ -79,6 +79,7 @@ google-dns1 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_dns1 as dns1; use dns1::{Result, Error}; @@ -95,9 +96,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Dns::new(hyper::Client::new(), auth); +let mut hub = Dns::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! diff --git a/gen/dns1/src/lib.rs b/gen/dns1/src/lib.rs index 9bc33f8e2a..8b83c3536c 100644 --- a/gen/dns1/src/lib.rs +++ b/gen/dns1/src/lib.rs @@ -79,6 +79,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_dns1 as dns1; //! use dns1::{Result, Error}; @@ -96,9 +97,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Dns::new(hyper::Client::new(), auth); +//! let mut hub = Dns::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! @@ -272,6 +273,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dns1 as dns1; /// use dns1::{Result, Error}; @@ -289,9 +291,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dns::new(hyper::Client::new(), auth); +/// let mut hub = Dns::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -631,6 +633,7 @@ impl ResponseResult for ResourceRecordSetsListResponse {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dns1 as dns1; /// @@ -641,9 +644,9 @@ impl ResponseResult for ResourceRecordSetsListResponse {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dns::new(hyper::Client::new(), auth); +/// let mut hub = Dns::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `get(...)` and `list(...)` /// // to build up your call. @@ -737,6 +740,7 @@ impl<'a, C, A> ChangeMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dns1 as dns1; /// @@ -747,9 +751,9 @@ impl<'a, C, A> ChangeMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dns::new(hyper::Client::new(), auth); +/// let mut hub = Dns::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `delete(...)`, `get(...)` and `list(...)` /// // to build up your call. @@ -855,6 +859,7 @@ impl<'a, C, A> ManagedZoneMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dns1 as dns1; /// @@ -865,9 +870,9 @@ impl<'a, C, A> ManagedZoneMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dns::new(hyper::Client::new(), auth); +/// let mut hub = Dns::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -919,6 +924,7 @@ impl<'a, C, A> ResourceRecordSetMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_dns1 as dns1; /// @@ -929,9 +935,9 @@ impl<'a, C, A> ResourceRecordSetMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Dns::new(hyper::Client::new(), auth); +/// let mut hub = Dns::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -985,6 +991,7 @@ impl<'a, C, A> ProjectMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dns1 as dns1; /// use dns1::Change; @@ -995,9 +1002,9 @@ impl<'a, C, A> ProjectMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dns::new(hyper::Client::new(), auth); +/// # let mut hub = Dns::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1263,6 +1270,7 @@ impl<'a, C, A> ChangeCreateCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dns1 as dns1; /// # #[test] fn egal() { @@ -1272,9 +1280,9 @@ impl<'a, C, A> ChangeCreateCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dns::new(hyper::Client::new(), auth); +/// # let mut hub = Dns::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1558,6 +1566,7 @@ impl<'a, C, A> ChangeListCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dns1 as dns1; /// # #[test] fn egal() { @@ -1567,9 +1576,9 @@ impl<'a, C, A> ChangeListCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dns::new(hyper::Client::new(), auth); +/// # let mut hub = Dns::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1817,6 +1826,7 @@ impl<'a, C, A> ChangeGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dns1 as dns1; /// use dns1::ManagedZone; @@ -1827,9 +1837,9 @@ impl<'a, C, A> ChangeGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dns::new(hyper::Client::new(), auth); +/// # let mut hub = Dns::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2083,6 +2093,7 @@ impl<'a, C, A> ManagedZoneCreateCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dns1 as dns1; /// # #[test] fn egal() { @@ -2092,9 +2103,9 @@ impl<'a, C, A> ManagedZoneCreateCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dns::new(hyper::Client::new(), auth); +/// # let mut hub = Dns::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2319,6 +2330,7 @@ impl<'a, C, A> ManagedZoneDeleteCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dns1 as dns1; /// # #[test] fn egal() { @@ -2328,9 +2340,9 @@ impl<'a, C, A> ManagedZoneDeleteCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dns::new(hyper::Client::new(), auth); +/// # let mut hub = Dns::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2566,6 +2578,7 @@ impl<'a, C, A> ManagedZoneGetCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dns1 as dns1; /// # #[test] fn egal() { @@ -2575,9 +2588,9 @@ impl<'a, C, A> ManagedZoneGetCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dns::new(hyper::Client::new(), auth); +/// # let mut hub = Dns::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2837,6 +2850,7 @@ impl<'a, C, A> ManagedZoneListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_dns1 as dns1; /// # #[test] fn egal() { @@ -2846,9 +2860,9 @@ impl<'a, C, A> ManagedZoneListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Dns::new(hyper::Client::new(), auth); +/// # let mut hub = Dns::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3132,6 +3146,7 @@ impl<'a, C, A> ResourceRecordSetListCall<'a, C, A> where C: BorrowMut ResourceRecordSetListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Dns::new(hyper::Client::new(), auth); +/// # let mut hub = Dns::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/doubleclickbidmanager1-cli/Cargo.toml b/gen/doubleclickbidmanager1-cli/Cargo.toml index 570ff518d6..a4d2ae19a2 100644 --- a/gen/doubleclickbidmanager1-cli/Cargo.toml +++ b/gen/doubleclickbidmanager1-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["doubleclickbidmanage", "google", "cli"] [[bin]] name = "doubleclickbidmanager1" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/doubleclickbidmanager1/Cargo.toml b/gen/doubleclickbidmanager1/Cargo.toml index 3608b0bac3..058fec154f 100644 --- a/gen/doubleclickbidmanager1/Cargo.toml +++ b/gen/doubleclickbidmanager1/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["doubleclickbidmanage", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/doubleclickbidmanager1/README.md b/gen/doubleclickbidmanager1/README.md index 0d58a0878e..13b847384d 100644 --- a/gen/doubleclickbidmanager1/README.md +++ b/gen/doubleclickbidmanager1/README.md @@ -77,6 +77,7 @@ google-doubleclickbidmanager1 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_doubleclickbidmanager1 as doubleclickbidmanager1; use doubleclickbidmanager1::{Result, Error}; @@ -93,9 +94,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = DoubleClickBidManager::new(hyper::Client::new(), auth); +let mut hub = DoubleClickBidManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! diff --git a/gen/doubleclickbidmanager1/src/lib.rs b/gen/doubleclickbidmanager1/src/lib.rs index e4d9b04007..a931ff0f47 100644 --- a/gen/doubleclickbidmanager1/src/lib.rs +++ b/gen/doubleclickbidmanager1/src/lib.rs @@ -77,6 +77,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_doubleclickbidmanager1 as doubleclickbidmanager1; //! use doubleclickbidmanager1::{Result, Error}; @@ -94,9 +95,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = DoubleClickBidManager::new(hyper::Client::new(), auth); +//! let mut hub = DoubleClickBidManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! @@ -255,6 +256,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_doubleclickbidmanager1 as doubleclickbidmanager1; /// use doubleclickbidmanager1::{Result, Error}; @@ -272,9 +274,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = DoubleClickBidManager::new(hyper::Client::new(), auth); +/// let mut hub = DoubleClickBidManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -868,6 +870,7 @@ impl ResponseResult for DownloadResponse {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_doubleclickbidmanager1 as doubleclickbidmanager1; /// @@ -878,9 +881,9 @@ impl ResponseResult for DownloadResponse {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = DoubleClickBidManager::new(hyper::Client::new(), auth); +/// let mut hub = DoubleClickBidManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `download(...)` /// // to build up your call. @@ -926,6 +929,7 @@ impl<'a, C, A> SdfMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_doubleclickbidmanager1 as doubleclickbidmanager1; /// @@ -936,9 +940,9 @@ impl<'a, C, A> SdfMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = DoubleClickBidManager::new(hyper::Client::new(), auth); +/// let mut hub = DoubleClickBidManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `downloadlineitems(...)` and `uploadlineitems(...)` /// // to build up your call. @@ -1001,6 +1005,7 @@ impl<'a, C, A> LineitemMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_doubleclickbidmanager1 as doubleclickbidmanager1; /// @@ -1011,9 +1016,9 @@ impl<'a, C, A> LineitemMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = DoubleClickBidManager::new(hyper::Client::new(), auth); +/// let mut hub = DoubleClickBidManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `listreports(...)` /// // to build up your call. @@ -1059,6 +1064,7 @@ impl<'a, C, A> ReportMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_doubleclickbidmanager1 as doubleclickbidmanager1; /// @@ -1069,9 +1075,9 @@ impl<'a, C, A> ReportMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = DoubleClickBidManager::new(hyper::Client::new(), auth); +/// let mut hub = DoubleClickBidManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `createquery(...)`, `deletequery(...)`, `getquery(...)`, `listqueries(...)` and `runquery(...)` /// // to build up your call. @@ -1190,6 +1196,7 @@ impl<'a, C, A> QueryMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_doubleclickbidmanager1 as doubleclickbidmanager1; /// use doubleclickbidmanager1::DownloadRequest; @@ -1200,9 +1207,9 @@ impl<'a, C, A> QueryMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = DoubleClickBidManager::new(hyper::Client::new(), auth); +/// # let mut hub = DoubleClickBidManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1423,6 +1430,7 @@ impl<'a, C, A> SdfDownloadCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_doubleclickbidmanager1 as doubleclickbidmanager1; /// use doubleclickbidmanager1::UploadLineItemsRequest; @@ -1433,9 +1441,9 @@ impl<'a, C, A> SdfDownloadCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = DoubleClickBidManager::new(hyper::Client::new(), auth); +/// # let mut hub = DoubleClickBidManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1656,6 +1664,7 @@ impl<'a, C, A> LineitemUploadlineitemCall<'a, C, A> where C: BorrowMut LineitemUploadlineitemCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = DoubleClickBidManager::new(hyper::Client::new(), auth); +/// # let mut hub = DoubleClickBidManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1889,6 +1898,7 @@ impl<'a, C, A> LineitemDownloadlineitemCall<'a, C, A> where C: BorrowMut LineitemDownloadlineitemCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = DoubleClickBidManager::new(hyper::Client::new(), auth); +/// # let mut hub = DoubleClickBidManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2124,6 +2134,7 @@ impl<'a, C, A> ReportListreportCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_doubleclickbidmanager1 as doubleclickbidmanager1; /// # #[test] fn egal() { @@ -2133,9 +2144,9 @@ impl<'a, C, A> ReportListreportCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = DoubleClickBidManager::new(hyper::Client::new(), auth); +/// # let mut hub = DoubleClickBidManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2326,6 +2337,7 @@ impl<'a, C, A> QueryListqueryCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_doubleclickbidmanager1 as doubleclickbidmanager1; /// # #[test] fn egal() { @@ -2335,9 +2347,9 @@ impl<'a, C, A> QueryListqueryCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = DoubleClickBidManager::new(hyper::Client::new(), auth); +/// # let mut hub = DoubleClickBidManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2561,6 +2573,7 @@ impl<'a, C, A> QueryGetqueryCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_doubleclickbidmanager1 as doubleclickbidmanager1; /// use doubleclickbidmanager1::Query; @@ -2571,9 +2584,9 @@ impl<'a, C, A> QueryGetqueryCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = DoubleClickBidManager::new(hyper::Client::new(), auth); +/// # let mut hub = DoubleClickBidManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2794,6 +2807,7 @@ impl<'a, C, A> QueryCreatequeryCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_doubleclickbidmanager1 as doubleclickbidmanager1; /// # #[test] fn egal() { @@ -2803,9 +2817,9 @@ impl<'a, C, A> QueryCreatequeryCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = DoubleClickBidManager::new(hyper::Client::new(), auth); +/// # let mut hub = DoubleClickBidManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3018,6 +3032,7 @@ impl<'a, C, A> QueryDeletequeryCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_doubleclickbidmanager1 as doubleclickbidmanager1; /// use doubleclickbidmanager1::RunQueryRequest; @@ -3028,9 +3043,9 @@ impl<'a, C, A> QueryDeletequeryCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = DoubleClickBidManager::new(hyper::Client::new(), auth); +/// # let mut hub = DoubleClickBidManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/doubleclicksearch2-cli/Cargo.toml b/gen/doubleclicksearch2-cli/Cargo.toml index 2f28589409..b1843a8939 100644 --- a/gen/doubleclicksearch2-cli/Cargo.toml +++ b/gen/doubleclicksearch2-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["doubleclicksearch", "google", "cli"] [[bin]] name = "doubleclicksearch2" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/doubleclicksearch2/Cargo.toml b/gen/doubleclicksearch2/Cargo.toml index a9427570e9..8d8a75ce59 100644 --- a/gen/doubleclicksearch2/Cargo.toml +++ b/gen/doubleclicksearch2/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["doubleclicksearch", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/doubleclicksearch2/README.md b/gen/doubleclicksearch2/README.md index 261b87cbb4..9957251050 100644 --- a/gen/doubleclicksearch2/README.md +++ b/gen/doubleclicksearch2/README.md @@ -81,6 +81,7 @@ google-doubleclicksearch2 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_doubleclicksearch2 as doubleclicksearch2; use doubleclicksearch2::{Result, Error}; @@ -97,9 +98,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Doubleclicksearch::new(hyper::Client::new(), auth); +let mut hub = Doubleclicksearch::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! diff --git a/gen/doubleclicksearch2/src/lib.rs b/gen/doubleclicksearch2/src/lib.rs index 4c62ec10c9..2cadbdc6aa 100644 --- a/gen/doubleclicksearch2/src/lib.rs +++ b/gen/doubleclicksearch2/src/lib.rs @@ -81,6 +81,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_doubleclicksearch2 as doubleclicksearch2; //! use doubleclicksearch2::{Result, Error}; @@ -98,9 +99,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Doubleclicksearch::new(hyper::Client::new(), auth); +//! let mut hub = Doubleclicksearch::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! @@ -259,6 +260,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_doubleclicksearch2 as doubleclicksearch2; /// use doubleclicksearch2::{Result, Error}; @@ -276,9 +278,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Doubleclicksearch::new(hyper::Client::new(), auth); +/// let mut hub = Doubleclicksearch::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -915,6 +917,7 @@ impl ResponseResult for ConversionList {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_doubleclicksearch2 as doubleclicksearch2; /// @@ -925,9 +928,9 @@ impl ResponseResult for ConversionList {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Doubleclicksearch::new(hyper::Client::new(), auth); +/// let mut hub = Doubleclicksearch::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `patch(...)`, `update(...)` and `update_availability(...)` /// // to build up your call. @@ -1071,6 +1074,7 @@ impl<'a, C, A> ConversionMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_doubleclicksearch2 as doubleclicksearch2; /// @@ -1081,9 +1085,9 @@ impl<'a, C, A> ConversionMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Doubleclicksearch::new(hyper::Client::new(), auth); +/// let mut hub = Doubleclicksearch::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -1131,6 +1135,7 @@ impl<'a, C, A> SavedColumnMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_doubleclicksearch2 as doubleclicksearch2; /// @@ -1141,9 +1146,9 @@ impl<'a, C, A> SavedColumnMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Doubleclicksearch::new(hyper::Client::new(), auth); +/// let mut hub = Doubleclicksearch::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `generate(...)`, `get(...)`, `get_file(...)` and `request(...)` /// // to build up your call. @@ -1250,6 +1255,7 @@ impl<'a, C, A> ReportMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_doubleclicksearch2 as doubleclicksearch2; /// use doubleclicksearch2::ConversionList; @@ -1260,9 +1266,9 @@ impl<'a, C, A> ReportMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Doubleclicksearch::new(hyper::Client::new(), auth); +/// # let mut hub = Doubleclicksearch::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1483,6 +1489,7 @@ impl<'a, C, A> ConversionInsertCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_doubleclicksearch2 as doubleclicksearch2; /// # #[test] fn egal() { @@ -1492,9 +1499,9 @@ impl<'a, C, A> ConversionInsertCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Doubleclicksearch::new(hyper::Client::new(), auth); +/// # let mut hub = Doubleclicksearch::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1838,6 +1845,7 @@ impl<'a, C, A> ConversionGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_doubleclicksearch2 as doubleclicksearch2; /// use doubleclicksearch2::UpdateAvailabilityRequest; @@ -1848,9 +1856,9 @@ impl<'a, C, A> ConversionGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Doubleclicksearch::new(hyper::Client::new(), auth); +/// # let mut hub = Doubleclicksearch::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2071,6 +2079,7 @@ impl<'a, C, A> ConversionUpdateAvailabilityCall<'a, C, A> where C: BorrowMut ConversionUpdateAvailabilityCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Doubleclicksearch::new(hyper::Client::new(), auth); +/// # let mut hub = Doubleclicksearch::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2388,6 +2397,7 @@ impl<'a, C, A> ConversionPatchCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_doubleclicksearch2 as doubleclicksearch2; /// use doubleclicksearch2::ConversionList; @@ -2398,9 +2408,9 @@ impl<'a, C, A> ConversionPatchCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Doubleclicksearch::new(hyper::Client::new(), auth); +/// # let mut hub = Doubleclicksearch::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2621,6 +2631,7 @@ impl<'a, C, A> ConversionUpdateCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_doubleclicksearch2 as doubleclicksearch2; /// # #[test] fn egal() { @@ -2630,9 +2641,9 @@ impl<'a, C, A> ConversionUpdateCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Doubleclicksearch::new(hyper::Client::new(), auth); +/// # let mut hub = Doubleclicksearch::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2871,6 +2882,7 @@ impl<'a, C, A> SavedColumnListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_doubleclicksearch2 as doubleclicksearch2; /// # #[test] fn egal() { @@ -2880,9 +2892,9 @@ impl<'a, C, A> SavedColumnListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Doubleclicksearch::new(hyper::Client::new(), auth); +/// # let mut hub = Doubleclicksearch::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3107,6 +3119,7 @@ impl<'a, C, A> ReportGetFileCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_doubleclicksearch2 as doubleclicksearch2; /// use doubleclicksearch2::ReportRequest; @@ -3117,9 +3130,9 @@ impl<'a, C, A> ReportGetFileCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Doubleclicksearch::new(hyper::Client::new(), auth); +/// # let mut hub = Doubleclicksearch::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3340,6 +3353,7 @@ impl<'a, C, A> ReportGenerateCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_doubleclicksearch2 as doubleclicksearch2; /// # #[test] fn egal() { @@ -3349,9 +3363,9 @@ impl<'a, C, A> ReportGenerateCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Doubleclicksearch::new(hyper::Client::new(), auth); +/// # let mut hub = Doubleclicksearch::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3575,6 +3589,7 @@ impl<'a, C, A> ReportGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_doubleclicksearch2 as doubleclicksearch2; /// use doubleclicksearch2::ReportRequest; @@ -3585,9 +3600,9 @@ impl<'a, C, A> ReportGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Doubleclicksearch::new(hyper::Client::new(), auth); +/// # let mut hub = Doubleclicksearch::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/drive2-cli/Cargo.toml b/gen/drive2-cli/Cargo.toml index 5cbc1ca589..5be11d3a4b 100644 --- a/gen/drive2-cli/Cargo.toml +++ b/gen/drive2-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["drive", "google", "cli"] [[bin]] name = "drive2" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/drive2/Cargo.toml b/gen/drive2/Cargo.toml index 75727fd7b2..1407b78f8e 100644 --- a/gen/drive2/Cargo.toml +++ b/gen/drive2/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["drive", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/drive2/README.md b/gen/drive2/README.md index d50b5ed09f..7710b717e2 100644 --- a/gen/drive2/README.md +++ b/gen/drive2/README.md @@ -130,6 +130,7 @@ google-drive2 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_drive2 as drive2; use drive2::File; @@ -147,9 +148,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Drive::new(hyper::Client::new(), auth); +let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! diff --git a/gen/drive2/src/lib.rs b/gen/drive2/src/lib.rs index fa47254c07..deb785f84f 100644 --- a/gen/drive2/src/lib.rs +++ b/gen/drive2/src/lib.rs @@ -130,6 +130,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_drive2 as drive2; //! use drive2::File; @@ -148,9 +149,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Drive::new(hyper::Client::new(), auth); +//! let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! @@ -360,6 +361,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_drive2 as drive2; /// use drive2::File; @@ -378,9 +380,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Drive::new(hyper::Client::new(), auth); +/// let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2329,6 +2331,7 @@ impl ResponseResult for TeamDriveList {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_drive2 as drive2; /// @@ -2339,9 +2342,9 @@ impl ResponseResult for TeamDriveList {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Drive::new(hyper::Client::new(), auth); +/// let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `copy(...)`, `delete(...)`, `empty_trash(...)`, `export(...)`, `generate_ids(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)`, `touch(...)`, `trash(...)`, `untrash(...)`, `update(...)` and `watch(...)` /// // to build up your call. @@ -2675,6 +2678,7 @@ impl<'a, C, A> FileMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_drive2 as drive2; /// @@ -2685,9 +2689,9 @@ impl<'a, C, A> FileMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Drive::new(hyper::Client::new(), auth); +/// let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)` and `update(...)` /// // to build up your call. @@ -2802,6 +2806,7 @@ impl<'a, C, A> TeamdriveMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_drive2 as drive2; /// @@ -2812,9 +2817,9 @@ impl<'a, C, A> TeamdriveMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Drive::new(hyper::Client::new(), auth); +/// let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `update(...)` /// // to build up your call. @@ -2879,6 +2884,7 @@ impl<'a, C, A> RealtimeMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_drive2 as drive2; /// @@ -2889,9 +2895,9 @@ impl<'a, C, A> RealtimeMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Drive::new(hyper::Client::new(), auth); +/// let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -2952,6 +2958,7 @@ impl<'a, C, A> AppMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_drive2 as drive2; /// @@ -2962,9 +2969,9 @@ impl<'a, C, A> AppMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Drive::new(hyper::Client::new(), auth); +/// let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -3008,6 +3015,7 @@ impl<'a, C, A> AboutMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_drive2 as drive2; /// @@ -3018,9 +3026,9 @@ impl<'a, C, A> AboutMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Drive::new(hyper::Client::new(), auth); +/// let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -3170,6 +3178,7 @@ impl<'a, C, A> CommentMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_drive2 as drive2; /// @@ -3180,9 +3189,9 @@ impl<'a, C, A> CommentMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Drive::new(hyper::Client::new(), auth); +/// let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -3290,6 +3299,7 @@ impl<'a, C, A> ChildrenMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_drive2 as drive2; /// @@ -3300,9 +3310,9 @@ impl<'a, C, A> ChildrenMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Drive::new(hyper::Client::new(), auth); +/// let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `stop(...)` /// // to build up your call. @@ -3348,6 +3358,7 @@ impl<'a, C, A> ChannelMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_drive2 as drive2; /// @@ -3358,9 +3369,9 @@ impl<'a, C, A> ChannelMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Drive::new(hyper::Client::new(), auth); +/// let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -3464,6 +3475,7 @@ impl<'a, C, A> ParentMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_drive2 as drive2; /// @@ -3474,9 +3486,9 @@ impl<'a, C, A> ParentMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Drive::new(hyper::Client::new(), auth); +/// let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -3637,6 +3649,7 @@ impl<'a, C, A> ReplyMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_drive2 as drive2; /// @@ -3647,9 +3660,9 @@ impl<'a, C, A> ReplyMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Drive::new(hyper::Client::new(), auth); +/// let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `get_id_for_email(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -3825,6 +3838,7 @@ impl<'a, C, A> PermissionMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_drive2 as drive2; /// @@ -3835,9 +3849,9 @@ impl<'a, C, A> PermissionMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Drive::new(hyper::Client::new(), auth); +/// let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `get_start_page_token(...)`, `list(...)` and `watch(...)` /// // to build up your call. @@ -3948,6 +3962,7 @@ impl<'a, C, A> ChangeMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_drive2 as drive2; /// @@ -3958,9 +3973,9 @@ impl<'a, C, A> ChangeMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Drive::new(hyper::Client::new(), auth); +/// let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -4109,6 +4124,7 @@ impl<'a, C, A> PropertyMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_drive2 as drive2; /// @@ -4119,9 +4135,9 @@ impl<'a, C, A> PropertyMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Drive::new(hyper::Client::new(), auth); +/// let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -4262,6 +4278,7 @@ impl<'a, C, A> RevisionMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// use drive2::Channel; @@ -4272,9 +4289,9 @@ impl<'a, C, A> RevisionMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4604,6 +4621,7 @@ impl<'a, C, A> FileWatchCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// use drive2::File; @@ -4615,9 +4633,9 @@ impl<'a, C, A> FileWatchCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5059,6 +5077,7 @@ impl<'a, C, A> FileInsertCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// # #[test] fn egal() { @@ -5068,9 +5087,9 @@ impl<'a, C, A> FileInsertCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5306,6 +5325,7 @@ impl<'a, C, A> FileUntrashCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// use drive2::File; @@ -5316,9 +5336,9 @@ impl<'a, C, A> FileUntrashCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5668,6 +5688,7 @@ impl<'a, C, A> FileCopyCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// # #[test] fn egal() { @@ -5677,9 +5698,9 @@ impl<'a, C, A> FileCopyCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5918,6 +5939,7 @@ impl<'a, C, A> FileTrashCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// # #[test] fn egal() { @@ -5927,9 +5949,9 @@ impl<'a, C, A> FileTrashCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6154,6 +6176,7 @@ impl<'a, C, A> FileExportCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// # #[test] fn egal() { @@ -6163,9 +6186,9 @@ impl<'a, C, A> FileExportCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6345,6 +6368,7 @@ impl<'a, C, A> FileEmptyTrashCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// # #[test] fn egal() { @@ -6354,9 +6378,9 @@ impl<'a, C, A> FileEmptyTrashCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6679,6 +6703,7 @@ impl<'a, C, A> FileListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// # #[test] fn egal() { @@ -6688,9 +6713,9 @@ impl<'a, C, A> FileListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6926,6 +6951,7 @@ impl<'a, C, A> FileTouchCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// # #[test] fn egal() { @@ -6935,9 +6961,9 @@ impl<'a, C, A> FileTouchCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7152,6 +7178,7 @@ impl<'a, C, A> FileGenerateIdCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// use drive2::File; @@ -7163,9 +7190,9 @@ impl<'a, C, A> FileGenerateIdCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7700,6 +7727,7 @@ impl<'a, C, A> FileUpdateCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// # #[test] fn egal() { @@ -7709,9 +7737,9 @@ impl<'a, C, A> FileUpdateCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7936,6 +7964,7 @@ impl<'a, C, A> FileDeleteCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// use drive2::File; @@ -7946,9 +7975,9 @@ impl<'a, C, A> FileDeleteCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8375,6 +8404,7 @@ impl<'a, C, A> FilePatchCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// # #[test] fn egal() { @@ -8384,9 +8414,9 @@ impl<'a, C, A> FilePatchCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8686,6 +8716,7 @@ impl<'a, C, A> FileGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// use drive2::TeamDrive; @@ -8696,9 +8727,9 @@ impl<'a, C, A> FileGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8931,6 +8962,7 @@ impl<'a, C, A> TeamdriveInsertCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// # #[test] fn egal() { @@ -8940,9 +8972,9 @@ impl<'a, C, A> TeamdriveInsertCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9166,6 +9198,7 @@ impl<'a, C, A> TeamdriveGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// # #[test] fn egal() { @@ -9175,9 +9208,9 @@ impl<'a, C, A> TeamdriveGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9392,6 +9425,7 @@ impl<'a, C, A> TeamdriveListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// # #[test] fn egal() { @@ -9401,9 +9435,9 @@ impl<'a, C, A> TeamdriveListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9616,6 +9650,7 @@ impl<'a, C, A> TeamdriveDeleteCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// use drive2::TeamDrive; @@ -9626,9 +9661,9 @@ impl<'a, C, A> TeamdriveDeleteCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9882,6 +9917,7 @@ impl<'a, C, A> TeamdriveUpdateCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// use std::fs; @@ -9892,9 +9928,9 @@ impl<'a, C, A> TeamdriveUpdateCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `upload(...)`. /// // Values shown here are possibly random and not representative ! @@ -10230,6 +10266,7 @@ impl<'a, C, A> RealtimeUpdateCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// # #[test] fn egal() { @@ -10239,9 +10276,9 @@ impl<'a, C, A> RealtimeUpdateCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10466,6 +10503,7 @@ impl<'a, C, A> RealtimeGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// # #[test] fn egal() { @@ -10475,9 +10513,9 @@ impl<'a, C, A> RealtimeGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10701,6 +10739,7 @@ impl<'a, C, A> AppGetCall<'a, C, A> where C: BorrowMut, A: oauth2 /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// # #[test] fn egal() { @@ -10710,9 +10749,9 @@ impl<'a, C, A> AppGetCall<'a, C, A> where C: BorrowMut, A: oauth2 /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10939,6 +10978,7 @@ impl<'a, C, A> AppListCall<'a, C, A> where C: BorrowMut, A: oauth /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// # #[test] fn egal() { @@ -10948,9 +10988,9 @@ impl<'a, C, A> AppListCall<'a, C, A> where C: BorrowMut, A: oauth /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11177,6 +11217,7 @@ impl<'a, C, A> AboutGetCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// # #[test] fn egal() { @@ -11186,9 +11227,9 @@ impl<'a, C, A> AboutGetCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11413,6 +11454,7 @@ impl<'a, C, A> CommentDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// # #[test] fn egal() { @@ -11422,9 +11464,9 @@ impl<'a, C, A> CommentDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11672,6 +11714,7 @@ impl<'a, C, A> CommentGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// use drive2::Comment; @@ -11682,9 +11725,9 @@ impl<'a, C, A> CommentGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11938,6 +11981,7 @@ impl<'a, C, A> CommentInsertCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// use drive2::Comment; @@ -11948,9 +11992,9 @@ impl<'a, C, A> CommentInsertCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12216,6 +12260,7 @@ impl<'a, C, A> CommentPatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// use drive2::Comment; @@ -12226,9 +12271,9 @@ impl<'a, C, A> CommentPatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12494,6 +12539,7 @@ impl<'a, C, A> CommentUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// # #[test] fn egal() { @@ -12503,9 +12549,9 @@ impl<'a, C, A> CommentUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12777,6 +12823,7 @@ impl<'a, C, A> CommentListCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// # #[test] fn egal() { @@ -12786,9 +12833,9 @@ impl<'a, C, A> CommentListCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13060,6 +13107,7 @@ impl<'a, C, A> ChildrenListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// # #[test] fn egal() { @@ -13069,9 +13117,9 @@ impl<'a, C, A> ChildrenListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13307,6 +13355,7 @@ impl<'a, C, A> ChildrenGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// # #[test] fn egal() { @@ -13316,9 +13365,9 @@ impl<'a, C, A> ChildrenGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13543,6 +13592,7 @@ impl<'a, C, A> ChildrenDeleteCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// use drive2::ChildReference; @@ -13553,9 +13603,9 @@ impl<'a, C, A> ChildrenDeleteCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13821,6 +13871,7 @@ impl<'a, C, A> ChildrenInsertCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// use drive2::Channel; @@ -13831,9 +13882,9 @@ impl<'a, C, A> ChildrenInsertCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14043,6 +14094,7 @@ impl<'a, C, A> ChannelStopCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// # #[test] fn egal() { @@ -14052,9 +14104,9 @@ impl<'a, C, A> ChannelStopCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14278,6 +14330,7 @@ impl<'a, C, A> ParentListCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// # #[test] fn egal() { @@ -14287,9 +14340,9 @@ impl<'a, C, A> ParentListCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14514,6 +14567,7 @@ impl<'a, C, A> ParentDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// use drive2::ParentReference; @@ -14524,9 +14578,9 @@ impl<'a, C, A> ParentDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14792,6 +14846,7 @@ impl<'a, C, A> ParentInsertCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// # #[test] fn egal() { @@ -14801,9 +14856,9 @@ impl<'a, C, A> ParentInsertCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15039,6 +15094,7 @@ impl<'a, C, A> ParentGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// use drive2::CommentReply; @@ -15049,9 +15105,9 @@ impl<'a, C, A> ParentGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15329,6 +15385,7 @@ impl<'a, C, A> ReplyPatchCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// # #[test] fn egal() { @@ -15338,9 +15395,9 @@ impl<'a, C, A> ReplyPatchCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15612,6 +15669,7 @@ impl<'a, C, A> ReplyListCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// # #[test] fn egal() { @@ -15621,9 +15679,9 @@ impl<'a, C, A> ReplyListCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15883,6 +15941,7 @@ impl<'a, C, A> ReplyGetCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// use drive2::CommentReply; @@ -15893,9 +15952,9 @@ impl<'a, C, A> ReplyGetCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16161,6 +16220,7 @@ impl<'a, C, A> ReplyInsertCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// # #[test] fn egal() { @@ -16170,9 +16230,9 @@ impl<'a, C, A> ReplyInsertCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16409,6 +16469,7 @@ impl<'a, C, A> ReplyDeleteCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// use drive2::CommentReply; @@ -16419,9 +16480,9 @@ impl<'a, C, A> ReplyDeleteCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16699,6 +16760,7 @@ impl<'a, C, A> ReplyUpdateCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// # #[test] fn egal() { @@ -16708,9 +16770,9 @@ impl<'a, C, A> ReplyUpdateCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16947,6 +17009,7 @@ impl<'a, C, A> PermissionDeleteCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// use drive2::Permission; @@ -16957,9 +17020,9 @@ impl<'a, C, A> PermissionDeleteCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17249,6 +17312,7 @@ impl<'a, C, A> PermissionInsertCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// use drive2::Permission; @@ -17259,9 +17323,9 @@ impl<'a, C, A> PermissionInsertCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17563,6 +17627,7 @@ impl<'a, C, A> PermissionPatchCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// # #[test] fn egal() { @@ -17572,9 +17637,9 @@ impl<'a, C, A> PermissionPatchCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17834,6 +17899,7 @@ impl<'a, C, A> PermissionListCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// use drive2::Permission; @@ -17844,9 +17910,9 @@ impl<'a, C, A> PermissionListCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18148,6 +18214,7 @@ impl<'a, C, A> PermissionUpdateCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// # #[test] fn egal() { @@ -18157,9 +18224,9 @@ impl<'a, C, A> PermissionUpdateCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18407,6 +18474,7 @@ impl<'a, C, A> PermissionGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// # #[test] fn egal() { @@ -18416,9 +18484,9 @@ impl<'a, C, A> PermissionGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18642,6 +18710,7 @@ impl<'a, C, A> PermissionGetIdForEmailCall<'a, C, A> where C: BorrowMut PermissionGetIdForEmailCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18868,6 +18937,7 @@ impl<'a, C, A> ChangeGetStartPageTokenCall<'a, C, A> where C: BorrowMut ChangeGetStartPageTokenCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19221,6 +19291,7 @@ impl<'a, C, A> ChangeWatchCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// # #[test] fn egal() { @@ -19230,9 +19301,9 @@ impl<'a, C, A> ChangeWatchCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19543,6 +19614,7 @@ impl<'a, C, A> ChangeListCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// # #[test] fn egal() { @@ -19552,9 +19624,9 @@ impl<'a, C, A> ChangeListCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19802,6 +19874,7 @@ impl<'a, C, A> ChangeGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// use drive2::Property; @@ -19812,9 +19885,9 @@ impl<'a, C, A> ChangeGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20092,6 +20165,7 @@ impl<'a, C, A> PropertyPatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// # #[test] fn egal() { @@ -20101,9 +20175,9 @@ impl<'a, C, A> PropertyPatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20340,6 +20414,7 @@ impl<'a, C, A> PropertyDeleteCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// use drive2::Property; @@ -20350,9 +20425,9 @@ impl<'a, C, A> PropertyDeleteCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20606,6 +20681,7 @@ impl<'a, C, A> PropertyInsertCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// # #[test] fn egal() { @@ -20615,9 +20691,9 @@ impl<'a, C, A> PropertyInsertCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20841,6 +20917,7 @@ impl<'a, C, A> PropertyListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// use drive2::Property; @@ -20851,9 +20928,9 @@ impl<'a, C, A> PropertyListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21131,6 +21208,7 @@ impl<'a, C, A> PropertyUpdateCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// # #[test] fn egal() { @@ -21140,9 +21218,9 @@ impl<'a, C, A> PropertyUpdateCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21390,6 +21468,7 @@ impl<'a, C, A> PropertyGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// # #[test] fn egal() { @@ -21399,9 +21478,9 @@ impl<'a, C, A> PropertyGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21637,6 +21716,7 @@ impl<'a, C, A> RevisionGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// use drive2::Revision; @@ -21647,9 +21727,9 @@ impl<'a, C, A> RevisionGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21915,6 +21995,7 @@ impl<'a, C, A> RevisionPatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// # #[test] fn egal() { @@ -21924,9 +22005,9 @@ impl<'a, C, A> RevisionPatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22151,6 +22232,7 @@ impl<'a, C, A> RevisionDeleteCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// use drive2::Revision; @@ -22161,9 +22243,9 @@ impl<'a, C, A> RevisionDeleteCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -22429,6 +22511,7 @@ impl<'a, C, A> RevisionUpdateCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive2 as drive2; /// # #[test] fn egal() { @@ -22438,9 +22521,9 @@ impl<'a, C, A> RevisionUpdateCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/drive3-cli/Cargo.toml b/gen/drive3-cli/Cargo.toml index 147e2f2d54..2efe1734ec 100644 --- a/gen/drive3-cli/Cargo.toml +++ b/gen/drive3-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["drive", "google", "cli"] [[bin]] name = "drive3" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/drive3/Cargo.toml b/gen/drive3/Cargo.toml index 1ef9637061..aafa86d972 100644 --- a/gen/drive3/Cargo.toml +++ b/gen/drive3/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["drive", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/drive3/README.md b/gen/drive3/README.md index 9c6aa7e66e..0ab52c1c1e 100644 --- a/gen/drive3/README.md +++ b/gen/drive3/README.md @@ -115,6 +115,7 @@ google-drive3 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_drive3 as drive3; use drive3::{Result, Error}; @@ -131,9 +132,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Drive::new(hyper::Client::new(), auth); +let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! diff --git a/gen/drive3/src/lib.rs b/gen/drive3/src/lib.rs index 7fdae13b1d..a5ef1f0fa3 100644 --- a/gen/drive3/src/lib.rs +++ b/gen/drive3/src/lib.rs @@ -115,6 +115,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_drive3 as drive3; //! use drive3::{Result, Error}; @@ -132,9 +133,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Drive::new(hyper::Client::new(), auth); +//! let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! @@ -331,6 +332,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_drive3 as drive3; /// use drive3::{Result, Error}; @@ -348,9 +350,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Drive::new(hyper::Client::new(), auth); +/// let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1630,6 +1632,7 @@ impl Resource for Change {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_drive3 as drive3; /// @@ -1640,9 +1643,9 @@ impl Resource for Change {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Drive::new(hyper::Client::new(), auth); +/// let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `copy(...)`, `create(...)`, `delete(...)`, `empty_trash(...)`, `export(...)`, `generate_ids(...)`, `get(...)`, `list(...)`, `update(...)` and `watch(...)` /// // to build up your call. @@ -1866,6 +1869,7 @@ impl<'a, C, A> FileMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_drive3 as drive3; /// @@ -1876,9 +1880,9 @@ impl<'a, C, A> FileMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Drive::new(hyper::Client::new(), auth); +/// let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `delete(...)`, `get(...)`, `list(...)` and `update(...)` /// // to build up your call. @@ -1993,6 +1997,7 @@ impl<'a, C, A> TeamdriveMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_drive3 as drive3; /// @@ -2003,9 +2008,9 @@ impl<'a, C, A> TeamdriveMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Drive::new(hyper::Client::new(), auth); +/// let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -2046,6 +2051,7 @@ impl<'a, C, A> AboutMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_drive3 as drive3; /// @@ -2056,9 +2062,9 @@ impl<'a, C, A> AboutMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Drive::new(hyper::Client::new(), auth); +/// let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `delete(...)`, `get(...)`, `list(...)` and `update(...)` /// // to build up your call. @@ -2187,6 +2193,7 @@ impl<'a, C, A> CommentMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_drive3 as drive3; /// @@ -2197,9 +2204,9 @@ impl<'a, C, A> CommentMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Drive::new(hyper::Client::new(), auth); +/// let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `stop(...)` /// // to build up your call. @@ -2245,6 +2252,7 @@ impl<'a, C, A> ChannelMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_drive3 as drive3; /// @@ -2255,9 +2263,9 @@ impl<'a, C, A> ChannelMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Drive::new(hyper::Client::new(), auth); +/// let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `delete(...)`, `get(...)`, `list(...)` and `update(...)` /// // to build up your call. @@ -2395,6 +2403,7 @@ impl<'a, C, A> ReplyMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_drive3 as drive3; /// @@ -2405,9 +2414,9 @@ impl<'a, C, A> ReplyMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Drive::new(hyper::Client::new(), auth); +/// let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `list(...)` and `update(...)` /// // to build up your call. @@ -2515,6 +2524,7 @@ impl<'a, C, A> RevisionMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_drive3 as drive3; /// @@ -2525,9 +2535,9 @@ impl<'a, C, A> RevisionMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Drive::new(hyper::Client::new(), auth); +/// let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get_start_page_token(...)`, `list(...)` and `watch(...)` /// // to build up your call. @@ -2622,6 +2632,7 @@ impl<'a, C, A> ChangeMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_drive3 as drive3; /// @@ -2632,9 +2643,9 @@ impl<'a, C, A> ChangeMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Drive::new(hyper::Client::new(), auth); +/// let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `delete(...)`, `get(...)`, `list(...)` and `update(...)` /// // to build up your call. @@ -2783,6 +2794,7 @@ impl<'a, C, A> PermissionMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive3 as drive3; /// use drive3::Channel; @@ -2793,9 +2805,9 @@ impl<'a, C, A> PermissionMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3089,6 +3101,7 @@ impl<'a, C, A> FileWatchCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive3 as drive3; /// use drive3::File; @@ -3100,9 +3113,9 @@ impl<'a, C, A> FileWatchCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3544,6 +3557,7 @@ impl<'a, C, A> FileUpdateCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive3 as drive3; /// # #[test] fn egal() { @@ -3553,9 +3567,9 @@ impl<'a, C, A> FileUpdateCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3780,6 +3794,7 @@ impl<'a, C, A> FileExportCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive3 as drive3; /// use drive3::File; @@ -3790,9 +3805,9 @@ impl<'a, C, A> FileExportCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4094,6 +4109,7 @@ impl<'a, C, A> FileCopyCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive3 as drive3; /// # #[test] fn egal() { @@ -4103,9 +4119,9 @@ impl<'a, C, A> FileCopyCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4285,6 +4301,7 @@ impl<'a, C, A> FileEmptyTrashCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive3 as drive3; /// # #[test] fn egal() { @@ -4294,9 +4311,9 @@ impl<'a, C, A> FileEmptyTrashCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4607,6 +4624,7 @@ impl<'a, C, A> FileListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive3 as drive3; /// # #[test] fn egal() { @@ -4616,9 +4634,9 @@ impl<'a, C, A> FileListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4833,6 +4851,7 @@ impl<'a, C, A> FileGenerateIdCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive3 as drive3; /// use drive3::File; @@ -4844,9 +4863,9 @@ impl<'a, C, A> FileGenerateIdCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5240,6 +5259,7 @@ impl<'a, C, A> FileCreateCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive3 as drive3; /// # #[test] fn egal() { @@ -5249,9 +5269,9 @@ impl<'a, C, A> FileCreateCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5481,6 +5501,7 @@ impl<'a, C, A> FileDeleteCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive3 as drive3; /// # #[test] fn egal() { @@ -5490,9 +5511,9 @@ impl<'a, C, A> FileDeleteCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5756,6 +5777,7 @@ impl<'a, C, A> FileGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive3 as drive3; /// # #[test] fn egal() { @@ -5765,9 +5787,9 @@ impl<'a, C, A> FileGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5991,6 +6013,7 @@ impl<'a, C, A> TeamdriveGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive3 as drive3; /// use drive3::TeamDrive; @@ -6001,9 +6024,9 @@ impl<'a, C, A> TeamdriveGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6236,6 +6259,7 @@ impl<'a, C, A> TeamdriveCreateCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive3 as drive3; /// # #[test] fn egal() { @@ -6245,9 +6269,9 @@ impl<'a, C, A> TeamdriveCreateCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6462,6 +6486,7 @@ impl<'a, C, A> TeamdriveListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive3 as drive3; /// # #[test] fn egal() { @@ -6471,9 +6496,9 @@ impl<'a, C, A> TeamdriveListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6686,6 +6711,7 @@ impl<'a, C, A> TeamdriveDeleteCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive3 as drive3; /// use drive3::TeamDrive; @@ -6696,9 +6722,9 @@ impl<'a, C, A> TeamdriveDeleteCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6952,6 +6978,7 @@ impl<'a, C, A> TeamdriveUpdateCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive3 as drive3; /// # #[test] fn egal() { @@ -6961,9 +6988,9 @@ impl<'a, C, A> TeamdriveUpdateCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7154,6 +7181,7 @@ impl<'a, C, A> AboutGetCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive3 as drive3; /// # #[test] fn egal() { @@ -7163,9 +7191,9 @@ impl<'a, C, A> AboutGetCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7390,6 +7418,7 @@ impl<'a, C, A> CommentDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive3 as drive3; /// # #[test] fn egal() { @@ -7399,9 +7428,9 @@ impl<'a, C, A> CommentDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7649,6 +7678,7 @@ impl<'a, C, A> CommentGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive3 as drive3; /// use drive3::Comment; @@ -7659,9 +7689,9 @@ impl<'a, C, A> CommentGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7927,6 +7957,7 @@ impl<'a, C, A> CommentUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive3 as drive3; /// use drive3::Comment; @@ -7937,9 +7968,9 @@ impl<'a, C, A> CommentUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8193,6 +8224,7 @@ impl<'a, C, A> CommentCreateCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive3 as drive3; /// # #[test] fn egal() { @@ -8202,9 +8234,9 @@ impl<'a, C, A> CommentCreateCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8476,6 +8508,7 @@ impl<'a, C, A> CommentListCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive3 as drive3; /// use drive3::Channel; @@ -8486,9 +8519,9 @@ impl<'a, C, A> CommentListCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8698,6 +8731,7 @@ impl<'a, C, A> ChannelStopCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive3 as drive3; /// use drive3::Reply; @@ -8708,9 +8742,9 @@ impl<'a, C, A> ChannelStopCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8976,6 +9010,7 @@ impl<'a, C, A> ReplyCreateCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive3 as drive3; /// # #[test] fn egal() { @@ -8985,9 +9020,9 @@ impl<'a, C, A> ReplyCreateCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9259,6 +9294,7 @@ impl<'a, C, A> ReplyListCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive3 as drive3; /// # #[test] fn egal() { @@ -9268,9 +9304,9 @@ impl<'a, C, A> ReplyListCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9530,6 +9566,7 @@ impl<'a, C, A> ReplyGetCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive3 as drive3; /// # #[test] fn egal() { @@ -9539,9 +9576,9 @@ impl<'a, C, A> ReplyGetCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9778,6 +9815,7 @@ impl<'a, C, A> ReplyDeleteCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive3 as drive3; /// use drive3::Reply; @@ -9788,9 +9826,9 @@ impl<'a, C, A> ReplyDeleteCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10068,6 +10106,7 @@ impl<'a, C, A> ReplyUpdateCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive3 as drive3; /// use drive3::Revision; @@ -10078,9 +10117,9 @@ impl<'a, C, A> ReplyUpdateCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10351,6 +10390,7 @@ impl<'a, C, A> RevisionUpdateCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive3 as drive3; /// # #[test] fn egal() { @@ -10360,9 +10400,9 @@ impl<'a, C, A> RevisionUpdateCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10626,6 +10666,7 @@ impl<'a, C, A> RevisionGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive3 as drive3; /// # #[test] fn egal() { @@ -10635,9 +10676,9 @@ impl<'a, C, A> RevisionGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10862,6 +10903,7 @@ impl<'a, C, A> RevisionDeleteCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive3 as drive3; /// # #[test] fn egal() { @@ -10871,9 +10913,9 @@ impl<'a, C, A> RevisionDeleteCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11121,6 +11163,7 @@ impl<'a, C, A> RevisionListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive3 as drive3; /// # #[test] fn egal() { @@ -11130,9 +11173,9 @@ impl<'a, C, A> RevisionListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11431,6 +11474,7 @@ impl<'a, C, A> ChangeListCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive3 as drive3; /// # #[test] fn egal() { @@ -11440,9 +11484,9 @@ impl<'a, C, A> ChangeListCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11657,6 +11701,7 @@ impl<'a, C, A> ChangeGetStartPageTokenCall<'a, C, A> where C: BorrowMut ChangeGetStartPageTokenCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11998,6 +12043,7 @@ impl<'a, C, A> ChangeWatchCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive3 as drive3; /// # #[test] fn egal() { @@ -12007,9 +12053,9 @@ impl<'a, C, A> ChangeWatchCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12246,6 +12292,7 @@ impl<'a, C, A> PermissionDeleteCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive3 as drive3; /// use drive3::Permission; @@ -12256,9 +12303,9 @@ impl<'a, C, A> PermissionDeleteCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12560,6 +12607,7 @@ impl<'a, C, A> PermissionUpdateCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive3 as drive3; /// # #[test] fn egal() { @@ -12569,9 +12617,9 @@ impl<'a, C, A> PermissionUpdateCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12831,6 +12879,7 @@ impl<'a, C, A> PermissionListCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive3 as drive3; /// # #[test] fn egal() { @@ -12840,9 +12889,9 @@ impl<'a, C, A> PermissionListCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13090,6 +13139,7 @@ impl<'a, C, A> PermissionGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_drive3 as drive3; /// use drive3::Permission; @@ -13100,9 +13150,9 @@ impl<'a, C, A> PermissionGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Drive::new(hyper::Client::new(), auth); +/// # let mut hub = Drive::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/firebasedynamiclinks1-cli/Cargo.toml b/gen/firebasedynamiclinks1-cli/Cargo.toml index 33254cf1cb..eb1090b07e 100644 --- a/gen/firebasedynamiclinks1-cli/Cargo.toml +++ b/gen/firebasedynamiclinks1-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["firebasedynamiclinks", "google", "cli"] [[bin]] name = "firebasedynamiclinks1" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/firebasedynamiclinks1/Cargo.toml b/gen/firebasedynamiclinks1/Cargo.toml index 64766e3258..aec5049a88 100644 --- a/gen/firebasedynamiclinks1/Cargo.toml +++ b/gen/firebasedynamiclinks1/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["firebasedynamiclinks", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/firebasedynamiclinks1/README.md b/gen/firebasedynamiclinks1/README.md index 798b063f30..8390bcb106 100644 --- a/gen/firebasedynamiclinks1/README.md +++ b/gen/firebasedynamiclinks1/README.md @@ -70,6 +70,7 @@ google-firebasedynamiclinks1 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_firebasedynamiclinks1 as firebasedynamiclinks1; use firebasedynamiclinks1::CreateShortDynamicLinkRequest; @@ -87,9 +88,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = FirebaseDynamicLinks::new(hyper::Client::new(), auth); +let mut hub = FirebaseDynamicLinks::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! diff --git a/gen/firebasedynamiclinks1/src/lib.rs b/gen/firebasedynamiclinks1/src/lib.rs index ad142bcf5e..eabb87e743 100644 --- a/gen/firebasedynamiclinks1/src/lib.rs +++ b/gen/firebasedynamiclinks1/src/lib.rs @@ -70,6 +70,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_firebasedynamiclinks1 as firebasedynamiclinks1; //! use firebasedynamiclinks1::CreateShortDynamicLinkRequest; @@ -88,9 +89,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = FirebaseDynamicLinks::new(hyper::Client::new(), auth); +//! let mut hub = FirebaseDynamicLinks::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! @@ -254,6 +255,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_firebasedynamiclinks1 as firebasedynamiclinks1; /// use firebasedynamiclinks1::CreateShortDynamicLinkRequest; @@ -272,9 +274,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = FirebaseDynamicLinks::new(hyper::Client::new(), auth); +/// let mut hub = FirebaseDynamicLinks::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -663,6 +665,7 @@ impl ResponseResult for CreateShortDynamicLinkResponse {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_firebasedynamiclinks1 as firebasedynamiclinks1; /// @@ -673,9 +676,9 @@ impl ResponseResult for CreateShortDynamicLinkResponse {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = FirebaseDynamicLinks::new(hyper::Client::new(), auth); +/// let mut hub = FirebaseDynamicLinks::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)` /// // to build up your call. @@ -745,6 +748,7 @@ impl<'a, C, A> ShortLinkMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_firebasedynamiclinks1 as firebasedynamiclinks1; /// use firebasedynamiclinks1::CreateShortDynamicLinkRequest; @@ -755,9 +759,9 @@ impl<'a, C, A> ShortLinkMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = FirebaseDynamicLinks::new(hyper::Client::new(), auth); +/// # let mut hub = FirebaseDynamicLinks::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/fitness1-cli/Cargo.toml b/gen/fitness1-cli/Cargo.toml index 43264c5aa0..54cd2b5ef2 100644 --- a/gen/fitness1-cli/Cargo.toml +++ b/gen/fitness1-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["fitness", "google", "cli"] [[bin]] name = "fitness1" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/fitness1/Cargo.toml b/gen/fitness1/Cargo.toml index b1ad9b8fc5..a66af8c7f0 100644 --- a/gen/fitness1/Cargo.toml +++ b/gen/fitness1/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["fitness", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/fitness1/README.md b/gen/fitness1/README.md index 9ff3b43f89..6aa3da43bc 100644 --- a/gen/fitness1/README.md +++ b/gen/fitness1/README.md @@ -74,6 +74,7 @@ google-fitness1 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_fitness1 as fitness1; use fitness1::DataSource; @@ -91,9 +92,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Fitness::new(hyper::Client::new(), auth); +let mut hub = Fitness::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! diff --git a/gen/fitness1/src/lib.rs b/gen/fitness1/src/lib.rs index b223cde8bf..cc5afb62dc 100644 --- a/gen/fitness1/src/lib.rs +++ b/gen/fitness1/src/lib.rs @@ -74,6 +74,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_fitness1 as fitness1; //! use fitness1::DataSource; @@ -92,9 +93,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Fitness::new(hyper::Client::new(), auth); +//! let mut hub = Fitness::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! @@ -326,6 +327,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_fitness1 as fitness1; /// use fitness1::DataSource; @@ -344,9 +346,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Fitness::new(hyper::Client::new(), auth); +/// let mut hub = Fitness::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -970,6 +972,7 @@ impl ResponseResult for DataSource {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_fitness1 as fitness1; /// @@ -980,9 +983,9 @@ impl ResponseResult for DataSource {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Fitness::new(hyper::Client::new(), auth); +/// let mut hub = Fitness::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `data_sources_create(...)`, `data_sources_datasets_delete(...)`, `data_sources_datasets_get(...)`, `data_sources_datasets_patch(...)`, `data_sources_delete(...)`, `data_sources_get(...)`, `data_sources_list(...)`, `data_sources_patch(...)`, `data_sources_update(...)`, `dataset_aggregate(...)`, `sessions_delete(...)`, `sessions_list(...)` and `sessions_update(...)` /// // to build up your call. @@ -1292,6 +1295,7 @@ impl<'a, C, A> UserMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_fitness1 as fitness1; /// use fitness1::AggregateRequest; @@ -1302,9 +1306,9 @@ impl<'a, C, A> UserMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Fitness::new(hyper::Client::new(), auth); +/// # let mut hub = Fitness::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1558,6 +1562,7 @@ impl<'a, C, A> UserDatasetAggregateCall<'a, C, A> where C: BorrowMut UserDatasetAggregateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Fitness::new(hyper::Client::new(), auth); +/// # let mut hub = Fitness::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1805,6 +1810,7 @@ impl<'a, C, A> UserDataSourceDeleteCall<'a, C, A> where C: BorrowMut UserDataSourceDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Fitness::new(hyper::Client::new(), auth); +/// # let mut hub = Fitness::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2088,6 +2094,7 @@ impl<'a, C, A> UserDataSourceDatasetGetCall<'a, C, A> where C: BorrowMut UserDataSourceDatasetGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Fitness::new(hyper::Client::new(), auth); +/// # let mut hub = Fitness::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2354,6 +2361,7 @@ impl<'a, C, A> UserDataSourceCreateCall<'a, C, A> where C: BorrowMut UserDataSourceCreateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Fitness::new(hyper::Client::new(), auth); +/// # let mut hub = Fitness::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2626,6 +2634,7 @@ impl<'a, C, A> UserDataSourceDatasetDeleteCall<'a, C, A> where C: BorrowMut UserDataSourceDatasetDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Fitness::new(hyper::Client::new(), auth); +/// # let mut hub = Fitness::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2928,6 +2937,7 @@ impl<'a, C, A> UserDataSourceDatasetPatchCall<'a, C, A> where C: BorrowMut UserDataSourceDatasetPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Fitness::new(hyper::Client::new(), auth); +/// # let mut hub = Fitness::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3176,6 +3186,7 @@ impl<'a, C, A> UserSessionDeleteCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_fitness1 as fitness1; /// # #[test] fn egal() { @@ -3185,9 +3196,9 @@ impl<'a, C, A> UserSessionDeleteCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Fitness::new(hyper::Client::new(), auth); +/// # let mut hub = Fitness::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3425,6 +3436,7 @@ impl<'a, C, A> UserDataSourceGetCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_fitness1 as fitness1; /// use fitness1::DataSource; @@ -3435,9 +3447,9 @@ impl<'a, C, A> UserDataSourceGetCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Fitness::new(hyper::Client::new(), auth); +/// # let mut hub = Fitness::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3703,6 +3715,7 @@ impl<'a, C, A> UserDataSourceUpdateCall<'a, C, A> where C: BorrowMut UserDataSourceUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Fitness::new(hyper::Client::new(), auth); +/// # let mut hub = Fitness::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3986,6 +3999,7 @@ impl<'a, C, A> UserSessionListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_fitness1 as fitness1; /// use fitness1::Session; @@ -3996,9 +4010,9 @@ impl<'a, C, A> UserSessionListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Fitness::new(hyper::Client::new(), auth); +/// # let mut hub = Fitness::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4278,6 +4292,7 @@ impl<'a, C, A> UserSessionUpdateCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_fitness1 as fitness1; /// use fitness1::DataSource; @@ -4288,9 +4303,9 @@ impl<'a, C, A> UserSessionUpdateCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Fitness::new(hyper::Client::new(), auth); +/// # let mut hub = Fitness::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4556,6 +4571,7 @@ impl<'a, C, A> UserDataSourcePatchCall<'a, C, A> where C: BorrowMut UserDataSourcePatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Fitness::new(hyper::Client::new(), auth); +/// # let mut hub = Fitness::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/fusiontables2-cli/Cargo.toml b/gen/fusiontables2-cli/Cargo.toml index 2c2f4163cc..b02d66f542 100644 --- a/gen/fusiontables2-cli/Cargo.toml +++ b/gen/fusiontables2-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["fusiontables", "google", "cli"] [[bin]] name = "fusiontables2" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/fusiontables2/Cargo.toml b/gen/fusiontables2/Cargo.toml index d38b1a1319..826e702321 100644 --- a/gen/fusiontables2/Cargo.toml +++ b/gen/fusiontables2/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["fusiontables", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/fusiontables2/README.md b/gen/fusiontables2/README.md index 9f9f3fb3de..23f59584c0 100644 --- a/gen/fusiontables2/README.md +++ b/gen/fusiontables2/README.md @@ -96,6 +96,7 @@ google-fusiontables2 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_fusiontables2 as fusiontables2; use fusiontables2::{Result, Error}; @@ -113,9 +114,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Fusiontables::new(hyper::Client::new(), auth); +let mut hub = Fusiontables::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `upload_resumable(...)`. // Values shown here are possibly random and not representative ! diff --git a/gen/fusiontables2/src/lib.rs b/gen/fusiontables2/src/lib.rs index deac73985c..b80f9e4c57 100644 --- a/gen/fusiontables2/src/lib.rs +++ b/gen/fusiontables2/src/lib.rs @@ -96,6 +96,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_fusiontables2 as fusiontables2; //! use fusiontables2::{Result, Error}; @@ -114,9 +115,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Fusiontables::new(hyper::Client::new(), auth); +//! let mut hub = Fusiontables::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `upload_resumable(...)`. //! // Values shown here are possibly random and not representative ! @@ -281,6 +282,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_fusiontables2 as fusiontables2; /// use fusiontables2::{Result, Error}; @@ -299,9 +301,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Fusiontables::new(hyper::Client::new(), auth); +/// let mut hub = Fusiontables::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `upload_resumable(...)`. /// // Values shown here are possibly random and not representative ! @@ -971,6 +973,7 @@ impl Part for StyleFunctionGradientColors {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_fusiontables2 as fusiontables2; /// @@ -981,9 +984,9 @@ impl Part for StyleFunctionGradientColors {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Fusiontables::new(hyper::Client::new(), auth); +/// let mut hub = Fusiontables::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -1130,6 +1133,7 @@ impl<'a, C, A> StyleMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_fusiontables2 as fusiontables2; /// @@ -1140,9 +1144,9 @@ impl<'a, C, A> StyleMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Fusiontables::new(hyper::Client::new(), auth); +/// let mut hub = Fusiontables::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)` and `list(...)` /// // to build up your call. @@ -1229,6 +1233,7 @@ impl<'a, C, A> TaskMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_fusiontables2 as fusiontables2; /// @@ -1239,9 +1244,9 @@ impl<'a, C, A> TaskMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Fusiontables::new(hyper::Client::new(), auth); +/// let mut hub = Fusiontables::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -1388,6 +1393,7 @@ impl<'a, C, A> ColumnMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_fusiontables2 as fusiontables2; /// @@ -1398,9 +1404,9 @@ impl<'a, C, A> ColumnMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Fusiontables::new(hyper::Client::new(), auth); +/// let mut hub = Fusiontables::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -1547,6 +1553,7 @@ impl<'a, C, A> TemplateMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_fusiontables2 as fusiontables2; /// @@ -1557,9 +1564,9 @@ impl<'a, C, A> TemplateMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Fusiontables::new(hyper::Client::new(), auth); +/// let mut hub = Fusiontables::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `sql(...)` and `sql_get(...)` /// // to build up your call. @@ -1646,6 +1653,7 @@ impl<'a, C, A> QueryMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_fusiontables2 as fusiontables2; /// @@ -1656,9 +1664,9 @@ impl<'a, C, A> QueryMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Fusiontables::new(hyper::Client::new(), auth); +/// let mut hub = Fusiontables::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `copy(...)`, `delete(...)`, `get(...)`, `import_rows(...)`, `import_table(...)`, `insert(...)`, `list(...)`, `patch(...)`, `replace_rows(...)` and `update(...)` /// // to build up your call. @@ -1881,6 +1889,7 @@ impl<'a, C, A> TableMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_fusiontables2 as fusiontables2; /// # #[test] fn egal() { @@ -1890,9 +1899,9 @@ impl<'a, C, A> TableMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Fusiontables::new(hyper::Client::new(), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2140,6 +2149,7 @@ impl<'a, C, A> StyleListCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_fusiontables2 as fusiontables2; /// use fusiontables2::StyleSetting; @@ -2150,9 +2160,9 @@ impl<'a, C, A> StyleListCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Fusiontables::new(hyper::Client::new(), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2418,6 +2428,7 @@ impl<'a, C, A> StyleUpdateCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_fusiontables2 as fusiontables2; /// use fusiontables2::StyleSetting; @@ -2428,9 +2439,9 @@ impl<'a, C, A> StyleUpdateCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Fusiontables::new(hyper::Client::new(), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2684,6 +2695,7 @@ impl<'a, C, A> StyleInsertCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_fusiontables2 as fusiontables2; /// # #[test] fn egal() { @@ -2693,9 +2705,9 @@ impl<'a, C, A> StyleInsertCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Fusiontables::new(hyper::Client::new(), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2931,6 +2943,7 @@ impl<'a, C, A> StyleGetCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_fusiontables2 as fusiontables2; /// # #[test] fn egal() { @@ -2940,9 +2953,9 @@ impl<'a, C, A> StyleGetCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Fusiontables::new(hyper::Client::new(), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3167,6 +3180,7 @@ impl<'a, C, A> StyleDeleteCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_fusiontables2 as fusiontables2; /// use fusiontables2::StyleSetting; @@ -3177,9 +3191,9 @@ impl<'a, C, A> StyleDeleteCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Fusiontables::new(hyper::Client::new(), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3445,6 +3459,7 @@ impl<'a, C, A> StylePatchCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_fusiontables2 as fusiontables2; /// # #[test] fn egal() { @@ -3454,9 +3469,9 @@ impl<'a, C, A> StylePatchCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Fusiontables::new(hyper::Client::new(), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3716,6 +3731,7 @@ impl<'a, C, A> TaskListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_fusiontables2 as fusiontables2; /// # #[test] fn egal() { @@ -3725,9 +3741,9 @@ impl<'a, C, A> TaskListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Fusiontables::new(hyper::Client::new(), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3952,6 +3968,7 @@ impl<'a, C, A> TaskDeleteCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_fusiontables2 as fusiontables2; /// # #[test] fn egal() { @@ -3961,9 +3978,9 @@ impl<'a, C, A> TaskDeleteCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Fusiontables::new(hyper::Client::new(), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4199,6 +4216,7 @@ impl<'a, C, A> TaskGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_fusiontables2 as fusiontables2; /// use fusiontables2::Column; @@ -4209,9 +4227,9 @@ impl<'a, C, A> TaskGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Fusiontables::new(hyper::Client::new(), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4465,6 +4483,7 @@ impl<'a, C, A> ColumnInsertCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_fusiontables2 as fusiontables2; /// use fusiontables2::Column; @@ -4475,9 +4494,9 @@ impl<'a, C, A> ColumnInsertCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Fusiontables::new(hyper::Client::new(), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4743,6 +4762,7 @@ impl<'a, C, A> ColumnUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_fusiontables2 as fusiontables2; /// # #[test] fn egal() { @@ -4752,9 +4772,9 @@ impl<'a, C, A> ColumnUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Fusiontables::new(hyper::Client::new(), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5002,6 +5022,7 @@ impl<'a, C, A> ColumnListCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_fusiontables2 as fusiontables2; /// use fusiontables2::Column; @@ -5012,9 +5033,9 @@ impl<'a, C, A> ColumnListCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Fusiontables::new(hyper::Client::new(), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5280,6 +5301,7 @@ impl<'a, C, A> ColumnPatchCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_fusiontables2 as fusiontables2; /// # #[test] fn egal() { @@ -5289,9 +5311,9 @@ impl<'a, C, A> ColumnPatchCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Fusiontables::new(hyper::Client::new(), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5516,6 +5538,7 @@ impl<'a, C, A> ColumnDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_fusiontables2 as fusiontables2; /// # #[test] fn egal() { @@ -5525,9 +5548,9 @@ impl<'a, C, A> ColumnDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Fusiontables::new(hyper::Client::new(), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5763,6 +5786,7 @@ impl<'a, C, A> ColumnGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_fusiontables2 as fusiontables2; /// use fusiontables2::Template; @@ -5773,9 +5797,9 @@ impl<'a, C, A> ColumnGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Fusiontables::new(hyper::Client::new(), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6041,6 +6065,7 @@ impl<'a, C, A> TemplateUpdateCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_fusiontables2 as fusiontables2; /// # #[test] fn egal() { @@ -6050,9 +6075,9 @@ impl<'a, C, A> TemplateUpdateCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Fusiontables::new(hyper::Client::new(), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6300,6 +6325,7 @@ impl<'a, C, A> TemplateListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_fusiontables2 as fusiontables2; /// # #[test] fn egal() { @@ -6309,9 +6335,9 @@ impl<'a, C, A> TemplateListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Fusiontables::new(hyper::Client::new(), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6536,6 +6562,7 @@ impl<'a, C, A> TemplateDeleteCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_fusiontables2 as fusiontables2; /// use fusiontables2::Template; @@ -6546,9 +6573,9 @@ impl<'a, C, A> TemplateDeleteCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Fusiontables::new(hyper::Client::new(), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6802,6 +6829,7 @@ impl<'a, C, A> TemplateInsertCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_fusiontables2 as fusiontables2; /// use fusiontables2::Template; @@ -6812,9 +6840,9 @@ impl<'a, C, A> TemplateInsertCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Fusiontables::new(hyper::Client::new(), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7080,6 +7108,7 @@ impl<'a, C, A> TemplatePatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_fusiontables2 as fusiontables2; /// # #[test] fn egal() { @@ -7089,9 +7118,9 @@ impl<'a, C, A> TemplatePatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Fusiontables::new(hyper::Client::new(), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7335,6 +7364,7 @@ impl<'a, C, A> TemplateGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_fusiontables2 as fusiontables2; /// # #[test] fn egal() { @@ -7344,9 +7374,9 @@ impl<'a, C, A> TemplateGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Fusiontables::new(hyper::Client::new(), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7604,6 +7634,7 @@ impl<'a, C, A> QuerySqlGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_fusiontables2 as fusiontables2; /// # #[test] fn egal() { @@ -7613,9 +7644,9 @@ impl<'a, C, A> QuerySqlGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Fusiontables::new(hyper::Client::new(), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7865,6 +7896,7 @@ impl<'a, C, A> QuerySqlCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_fusiontables2 as fusiontables2; /// use fusiontables2::Table; @@ -7875,9 +7907,9 @@ impl<'a, C, A> QuerySqlCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Fusiontables::new(hyper::Client::new(), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8143,6 +8175,7 @@ impl<'a, C, A> TablePatchCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_fusiontables2 as fusiontables2; /// use std::fs; @@ -8153,9 +8186,9 @@ impl<'a, C, A> TablePatchCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Fusiontables::new(hyper::Client::new(), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `upload_resumable(...)`. /// // Values shown here are possibly random and not representative ! @@ -8547,6 +8580,7 @@ impl<'a, C, A> TableReplaceRowCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_fusiontables2 as fusiontables2; /// use fusiontables2::Table; @@ -8557,9 +8591,9 @@ impl<'a, C, A> TableReplaceRowCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Fusiontables::new(hyper::Client::new(), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8825,6 +8859,7 @@ impl<'a, C, A> TableUpdateCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_fusiontables2 as fusiontables2; /// # #[test] fn egal() { @@ -8834,9 +8869,9 @@ impl<'a, C, A> TableUpdateCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Fusiontables::new(hyper::Client::new(), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9049,6 +9084,7 @@ impl<'a, C, A> TableDeleteCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_fusiontables2 as fusiontables2; /// use fusiontables2::Table; @@ -9059,9 +9095,9 @@ impl<'a, C, A> TableDeleteCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Fusiontables::new(hyper::Client::new(), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9282,6 +9318,7 @@ impl<'a, C, A> TableInsertCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_fusiontables2 as fusiontables2; /// # #[test] fn egal() { @@ -9291,9 +9328,9 @@ impl<'a, C, A> TableInsertCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Fusiontables::new(hyper::Client::new(), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9517,6 +9554,7 @@ impl<'a, C, A> TableGetCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_fusiontables2 as fusiontables2; /// # #[test] fn egal() { @@ -9526,9 +9564,9 @@ impl<'a, C, A> TableGetCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Fusiontables::new(hyper::Client::new(), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9743,6 +9781,7 @@ impl<'a, C, A> TableListCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_fusiontables2 as fusiontables2; /// use std::fs; @@ -9753,9 +9792,9 @@ impl<'a, C, A> TableListCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Fusiontables::new(hyper::Client::new(), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `upload_resumable(...)`. /// // Values shown here are possibly random and not representative ! @@ -10147,6 +10186,7 @@ impl<'a, C, A> TableImportRowCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_fusiontables2 as fusiontables2; /// use std::fs; @@ -10157,9 +10197,9 @@ impl<'a, C, A> TableImportRowCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Fusiontables::new(hyper::Client::new(), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `upload_resumable(...)`. /// // Values shown here are possibly random and not representative ! @@ -10494,6 +10534,7 @@ impl<'a, C, A> TableImportTableCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_fusiontables2 as fusiontables2; /// # #[test] fn egal() { @@ -10503,9 +10544,9 @@ impl<'a, C, A> TableImportTableCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Fusiontables::new(hyper::Client::new(), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/games1-cli/Cargo.toml b/gen/games1-cli/Cargo.toml index 2f5b0d72f0..2988e9a5dc 100644 --- a/gen/games1-cli/Cargo.toml +++ b/gen/games1-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["games", "google", "cli"] [[bin]] name = "games1" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/games1/Cargo.toml b/gen/games1/Cargo.toml index 0923351d8d..b4f2884ca4 100644 --- a/gen/games1/Cargo.toml +++ b/gen/games1/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["games", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/games1/README.md b/gen/games1/README.md index 0335386dca..8aae15495f 100644 --- a/gen/games1/README.md +++ b/gen/games1/README.md @@ -105,6 +105,7 @@ google-games1 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_games1 as games1; use games1::{Result, Error}; @@ -121,9 +122,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Games::new(hyper::Client::new(), auth); +let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! diff --git a/gen/games1/src/lib.rs b/gen/games1/src/lib.rs index e3dcfb9bf7..1c2f53f7e4 100644 --- a/gen/games1/src/lib.rs +++ b/gen/games1/src/lib.rs @@ -105,6 +105,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_games1 as games1; //! use games1::{Result, Error}; @@ -122,9 +123,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Games::new(hyper::Client::new(), auth); +//! let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! @@ -294,6 +295,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_games1 as games1; /// use games1::{Result, Error}; @@ -311,9 +313,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Games::new(hyper::Client::new(), auth); +/// let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3197,6 +3199,7 @@ impl Part for GamesAchievementSetStepsAtLeast {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_games1 as games1; /// @@ -3207,9 +3210,9 @@ impl Part for GamesAchievementSetStepsAtLeast {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Games::new(hyper::Client::new(), auth); +/// let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `increment(...)`, `list(...)`, `reveal(...)`, `set_steps_at_least(...)`, `unlock(...)` and `update_multiple(...)` /// // to build up your call. @@ -3355,6 +3358,7 @@ impl<'a, C, A> AchievementMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_games1 as games1; /// @@ -3365,9 +3369,9 @@ impl<'a, C, A> AchievementMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Games::new(hyper::Client::new(), auth); +/// let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -3431,6 +3435,7 @@ impl<'a, C, A> LeaderboardMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_games1 as games1; /// @@ -3441,9 +3446,9 @@ impl<'a, C, A> LeaderboardMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Games::new(hyper::Client::new(), auth); +/// let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get_metagame_config(...)` and `list_categories_by_player(...)` /// // to build up your call. @@ -3508,6 +3513,7 @@ impl<'a, C, A> MetagameMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_games1 as games1; /// @@ -3518,9 +3524,9 @@ impl<'a, C, A> MetagameMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Games::new(hyper::Client::new(), auth); +/// let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -3589,6 +3595,7 @@ impl<'a, C, A> PlayerMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_games1 as games1; /// @@ -3599,9 +3606,9 @@ impl<'a, C, A> PlayerMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Games::new(hyper::Client::new(), auth); +/// let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `accept(...)` and `list(...)` /// // to build up your call. @@ -3670,6 +3677,7 @@ impl<'a, C, A> QuestMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_games1 as games1; /// @@ -3680,9 +3688,9 @@ impl<'a, C, A> QuestMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Games::new(hyper::Client::new(), auth); +/// let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -3751,6 +3759,7 @@ impl<'a, C, A> SnapshotMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_games1 as games1; /// @@ -3761,9 +3770,9 @@ impl<'a, C, A> SnapshotMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Games::new(hyper::Client::new(), auth); +/// let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `cancel(...)`, `create(...)`, `decline(...)`, `dismiss(...)`, `finish(...)`, `get(...)`, `join(...)`, `leave(...)`, `leave_turn(...)`, `list(...)`, `rematch(...)`, `sync(...)` and `take_turn(...)` /// // to build up your call. @@ -4044,6 +4053,7 @@ impl<'a, C, A> TurnBasedMatcheMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_games1 as games1; /// @@ -4054,9 +4064,9 @@ impl<'a, C, A> TurnBasedMatcheMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Games::new(hyper::Client::new(), auth); +/// let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `played(...)` and `verify(...)` /// // to build up your call. @@ -4136,6 +4146,7 @@ impl<'a, C, A> ApplicationMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_games1 as games1; /// @@ -4146,9 +4157,9 @@ impl<'a, C, A> ApplicationMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Games::new(hyper::Client::new(), auth); +/// let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `decline(...)`, `dismiss(...)`, `get(...)`, `join(...)`, `leave(...)`, `list(...)` and `report_status(...)` /// // to build up your call. @@ -4331,6 +4342,7 @@ impl<'a, C, A> RoomMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_games1 as games1; /// @@ -4341,9 +4353,9 @@ impl<'a, C, A> RoomMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Games::new(hyper::Client::new(), auth); +/// let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `list(...)`, `list_window(...)`, `submit(...)` and `submit_multiple(...)` /// // to build up your call. @@ -4492,6 +4504,7 @@ impl<'a, C, A> ScoreMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_games1 as games1; /// @@ -4502,9 +4515,9 @@ impl<'a, C, A> ScoreMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Games::new(hyper::Client::new(), auth); +/// let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `remove(...)` and `update(...)` /// // to build up your call. @@ -4569,6 +4582,7 @@ impl<'a, C, A> PushtokenMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_games1 as games1; /// @@ -4579,9 +4593,9 @@ impl<'a, C, A> PushtokenMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Games::new(hyper::Client::new(), auth); +/// let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `check(...)` /// // to build up your call. @@ -4633,6 +4647,7 @@ impl<'a, C, A> RevisionMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_games1 as games1; /// @@ -4643,9 +4658,9 @@ impl<'a, C, A> RevisionMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Games::new(hyper::Client::new(), auth); +/// let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list_by_player(...)`, `list_definitions(...)` and `record(...)` /// // to build up your call. @@ -4725,6 +4740,7 @@ impl<'a, C, A> EventMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_games1 as games1; /// @@ -4735,9 +4751,9 @@ impl<'a, C, A> EventMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Games::new(hyper::Client::new(), auth); +/// let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `claim(...)` /// // to build up your call. @@ -4788,6 +4804,7 @@ impl<'a, C, A> QuestMilestoneMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_games1 as games1; /// @@ -4798,9 +4815,9 @@ impl<'a, C, A> QuestMilestoneMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Games::new(hyper::Client::new(), auth); +/// let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -4853,6 +4870,7 @@ impl<'a, C, A> AchievementDefinitionMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_games1 as games1; /// # #[test] fn egal() { @@ -4862,9 +4880,9 @@ impl<'a, C, A> AchievementDefinitionMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Games::new(hyper::Client::new(), auth); +/// # let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5148,6 +5166,7 @@ impl<'a, C, A> AchievementListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_games1 as games1; /// # #[test] fn egal() { @@ -5157,9 +5176,9 @@ impl<'a, C, A> AchievementListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Games::new(hyper::Client::new(), auth); +/// # let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5419,6 +5438,7 @@ impl<'a, C, A> AchievementIncrementCall<'a, C, A> where C: BorrowMut AchievementIncrementCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Games::new(hyper::Client::new(), auth); +/// # let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5678,6 +5698,7 @@ impl<'a, C, A> AchievementSetStepsAtLeastCall<'a, C, A> where C: BorrowMut AchievementSetStepsAtLeastCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Games::new(hyper::Client::new(), auth); +/// # let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5923,6 +5944,7 @@ impl<'a, C, A> AchievementUpdateMultipleCall<'a, C, A> where C: BorrowMut AchievementUpdateMultipleCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Games::new(hyper::Client::new(), auth); +/// # let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6170,6 +6192,7 @@ impl<'a, C, A> AchievementRevealCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_games1 as games1; /// # #[test] fn egal() { @@ -6179,9 +6202,9 @@ impl<'a, C, A> AchievementRevealCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Games::new(hyper::Client::new(), auth); +/// # let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6417,6 +6440,7 @@ impl<'a, C, A> AchievementUnlockCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_games1 as games1; /// # #[test] fn egal() { @@ -6426,9 +6450,9 @@ impl<'a, C, A> AchievementUnlockCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Games::new(hyper::Client::new(), auth); +/// # let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6676,6 +6700,7 @@ impl<'a, C, A> LeaderboardGetCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_games1 as games1; /// # #[test] fn egal() { @@ -6685,9 +6710,9 @@ impl<'a, C, A> LeaderboardGetCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Games::new(hyper::Client::new(), auth); +/// # let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6926,6 +6951,7 @@ impl<'a, C, A> LeaderboardListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_games1 as games1; /// # #[test] fn egal() { @@ -6935,9 +6961,9 @@ impl<'a, C, A> LeaderboardListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Games::new(hyper::Client::new(), auth); +/// # let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7221,6 +7247,7 @@ impl<'a, C, A> MetagameListCategoriesByPlayerCall<'a, C, A> where C: BorrowMut MetagameListCategoriesByPlayerCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Games::new(hyper::Client::new(), auth); +/// # let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7435,6 +7462,7 @@ impl<'a, C, A> MetagameGetMetagameConfigCall<'a, C, A> where C: BorrowMut MetagameGetMetagameConfigCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Games::new(hyper::Client::new(), auth); +/// # let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7718,6 +7746,7 @@ impl<'a, C, A> PlayerListCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_games1 as games1; /// # #[test] fn egal() { @@ -7727,9 +7756,9 @@ impl<'a, C, A> PlayerListCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Games::new(hyper::Client::new(), auth); +/// # let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7977,6 +8006,7 @@ impl<'a, C, A> PlayerGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_games1 as games1; /// # #[test] fn egal() { @@ -7986,9 +8016,9 @@ impl<'a, C, A> PlayerGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Games::new(hyper::Client::new(), auth); +/// # let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8236,6 +8266,7 @@ impl<'a, C, A> QuestAcceptCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_games1 as games1; /// # #[test] fn egal() { @@ -8245,9 +8276,9 @@ impl<'a, C, A> QuestAcceptCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Games::new(hyper::Client::new(), auth); +/// # let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8519,6 +8550,7 @@ impl<'a, C, A> QuestListCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_games1 as games1; /// # #[test] fn egal() { @@ -8528,9 +8560,9 @@ impl<'a, C, A> QuestListCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Games::new(hyper::Client::new(), auth); +/// # let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8778,6 +8810,7 @@ impl<'a, C, A> SnapshotGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_games1 as games1; /// # #[test] fn egal() { @@ -8787,9 +8820,9 @@ impl<'a, C, A> SnapshotGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Games::new(hyper::Client::new(), auth); +/// # let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9061,6 +9094,7 @@ impl<'a, C, A> SnapshotListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_games1 as games1; /// # #[test] fn egal() { @@ -9070,9 +9104,9 @@ impl<'a, C, A> SnapshotListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Games::new(hyper::Client::new(), auth); +/// # let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9297,6 +9331,7 @@ impl<'a, C, A> TurnBasedMatcheDismisCall<'a, C, A> where C: BorrowMut TurnBasedMatcheDismisCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Games::new(hyper::Client::new(), auth); +/// # let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9571,6 +9606,7 @@ impl<'a, C, A> TurnBasedMatcheSyncCall<'a, C, A> where C: BorrowMut TurnBasedMatcheSyncCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Games::new(hyper::Client::new(), auth); +/// # let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9830,6 +9866,7 @@ impl<'a, C, A> TurnBasedMatcheDeclineCall<'a, C, A> where C: BorrowMut TurnBasedMatcheDeclineCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Games::new(hyper::Client::new(), auth); +/// # let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10101,6 +10138,7 @@ impl<'a, C, A> TurnBasedMatcheGetCall<'a, C, A> where C: BorrowMut TurnBasedMatcheGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Games::new(hyper::Client::new(), auth); +/// # let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10358,6 +10396,7 @@ impl<'a, C, A> TurnBasedMatcheCreateCall<'a, C, A> where C: BorrowMut TurnBasedMatcheCreateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Games::new(hyper::Client::new(), auth); +/// # let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10617,6 +10656,7 @@ impl<'a, C, A> TurnBasedMatcheJoinCall<'a, C, A> where C: BorrowMut TurnBasedMatcheJoinCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Games::new(hyper::Client::new(), auth); +/// # let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10900,6 +10940,7 @@ impl<'a, C, A> TurnBasedMatcheLeaveTurnCall<'a, C, A> where C: BorrowMut TurnBasedMatcheLeaveTurnCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Games::new(hyper::Client::new(), auth); +/// # let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11136,6 +11177,7 @@ impl<'a, C, A> TurnBasedMatcheCancelCall<'a, C, A> where C: BorrowMut TurnBasedMatcheCancelCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Games::new(hyper::Client::new(), auth); +/// # let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11426,6 +11468,7 @@ impl<'a, C, A> TurnBasedMatcheFinishCall<'a, C, A> where C: BorrowMut TurnBasedMatcheFinishCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Games::new(hyper::Client::new(), auth); +/// # let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11685,6 +11728,7 @@ impl<'a, C, A> TurnBasedMatcheLeaveCall<'a, C, A> where C: BorrowMut TurnBasedMatcheLeaveCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Games::new(hyper::Client::new(), auth); +/// # let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11959,6 +12003,7 @@ impl<'a, C, A> TurnBasedMatcheListCall<'a, C, A> where C: BorrowMut TurnBasedMatcheListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Games::new(hyper::Client::new(), auth); +/// # let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12249,6 +12294,7 @@ impl<'a, C, A> TurnBasedMatcheTakeTurnCall<'a, C, A> where C: BorrowMut TurnBasedMatcheTakeTurnCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Games::new(hyper::Client::new(), auth); +/// # let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12520,6 +12566,7 @@ impl<'a, C, A> TurnBasedMatcheRematchCall<'a, C, A> where C: BorrowMut TurnBasedMatcheRematchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Games::new(hyper::Client::new(), auth); +/// # let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12767,6 +12814,7 @@ impl<'a, C, A> ApplicationVerifyCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_games1 as games1; /// # #[test] fn egal() { @@ -12776,9 +12824,9 @@ impl<'a, C, A> ApplicationVerifyCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Games::new(hyper::Client::new(), auth); +/// # let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13038,6 +13086,7 @@ impl<'a, C, A> ApplicationGetCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_games1 as games1; /// # #[test] fn egal() { @@ -13047,9 +13096,9 @@ impl<'a, C, A> ApplicationGetCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Games::new(hyper::Client::new(), auth); +/// # let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13241,6 +13290,7 @@ impl<'a, C, A> ApplicationPlayedCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_games1 as games1; /// # #[test] fn egal() { @@ -13250,9 +13300,9 @@ impl<'a, C, A> ApplicationPlayedCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Games::new(hyper::Client::new(), auth); +/// # let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13500,6 +13550,7 @@ impl<'a, C, A> RoomGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_games1 as games1; /// use games1::RoomLeaveRequest; @@ -13510,9 +13561,9 @@ impl<'a, C, A> RoomGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Games::new(hyper::Client::new(), auth); +/// # let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13790,6 +13841,7 @@ impl<'a, C, A> RoomLeaveCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_games1 as games1; /// # #[test] fn egal() { @@ -13799,9 +13851,9 @@ impl<'a, C, A> RoomLeaveCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Games::new(hyper::Client::new(), auth); +/// # let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14040,6 +14092,7 @@ impl<'a, C, A> RoomListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_games1 as games1; /// use games1::RoomP2PStatuses; @@ -14050,9 +14103,9 @@ impl<'a, C, A> RoomListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Games::new(hyper::Client::new(), auth); +/// # let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14330,6 +14383,7 @@ impl<'a, C, A> RoomReportStatuCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_games1 as games1; /// use games1::RoomCreateRequest; @@ -14340,9 +14394,9 @@ impl<'a, C, A> RoomReportStatuCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Games::new(hyper::Client::new(), auth); +/// # let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14587,6 +14641,7 @@ impl<'a, C, A> RoomCreateCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_games1 as games1; /// # #[test] fn egal() { @@ -14596,9 +14651,9 @@ impl<'a, C, A> RoomCreateCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Games::new(hyper::Client::new(), auth); +/// # let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14846,6 +14901,7 @@ impl<'a, C, A> RoomDeclineCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_games1 as games1; /// # #[test] fn egal() { @@ -14855,9 +14911,9 @@ impl<'a, C, A> RoomDeclineCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Games::new(hyper::Client::new(), auth); +/// # let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15082,6 +15138,7 @@ impl<'a, C, A> RoomDismisCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_games1 as games1; /// use games1::RoomJoinRequest; @@ -15092,9 +15149,9 @@ impl<'a, C, A> RoomDismisCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Games::new(hyper::Client::new(), auth); +/// # let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15372,6 +15429,7 @@ impl<'a, C, A> RoomJoinCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_games1 as games1; /// # #[test] fn egal() { @@ -15381,9 +15439,9 @@ impl<'a, C, A> RoomJoinCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Games::new(hyper::Client::new(), auth); +/// # let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15655,6 +15713,7 @@ impl<'a, C, A> ScoreSubmitCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_games1 as games1; /// # #[test] fn egal() { @@ -15664,9 +15723,9 @@ impl<'a, C, A> ScoreSubmitCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Games::new(hyper::Client::new(), auth); +/// # let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15963,6 +16022,7 @@ impl<'a, C, A> ScoreListCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_games1 as games1; /// # #[test] fn egal() { @@ -15972,9 +16032,9 @@ impl<'a, C, A> ScoreListCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Games::new(hyper::Client::new(), auth); +/// # let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16282,6 +16342,7 @@ impl<'a, C, A> ScoreGetCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_games1 as games1; /// use games1::PlayerScoreSubmissionList; @@ -16292,9 +16353,9 @@ impl<'a, C, A> ScoreGetCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Games::new(hyper::Client::new(), auth); +/// # let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16539,6 +16600,7 @@ impl<'a, C, A> ScoreSubmitMultipleCall<'a, C, A> where C: BorrowMut ScoreSubmitMultipleCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Games::new(hyper::Client::new(), auth); +/// # let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16870,6 +16932,7 @@ impl<'a, C, A> ScoreListWindowCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_games1 as games1; /// use games1::PushTokenId; @@ -16880,9 +16943,9 @@ impl<'a, C, A> ScoreListWindowCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Games::new(hyper::Client::new(), auth); +/// # let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17104,6 +17167,7 @@ impl<'a, C, A> PushtokenRemoveCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_games1 as games1; /// use games1::PushToken; @@ -17114,9 +17178,9 @@ impl<'a, C, A> PushtokenRemoveCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Games::new(hyper::Client::new(), auth); +/// # let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17338,6 +17402,7 @@ impl<'a, C, A> PushtokenUpdateCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_games1 as games1; /// # #[test] fn egal() { @@ -17347,9 +17412,9 @@ impl<'a, C, A> PushtokenUpdateCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Games::new(hyper::Client::new(), auth); +/// # let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17569,6 +17634,7 @@ impl<'a, C, A> RevisionCheckCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_games1 as games1; /// # #[test] fn egal() { @@ -17578,9 +17644,9 @@ impl<'a, C, A> RevisionCheckCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Games::new(hyper::Client::new(), auth); +/// # let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17819,6 +17885,7 @@ impl<'a, C, A> EventListDefinitionCall<'a, C, A> where C: BorrowMut EventListDefinitionCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Games::new(hyper::Client::new(), auth); +/// # let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18076,6 +18143,7 @@ impl<'a, C, A> EventRecordCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_games1 as games1; /// # #[test] fn egal() { @@ -18085,9 +18153,9 @@ impl<'a, C, A> EventRecordCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Games::new(hyper::Client::new(), auth); +/// # let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18326,6 +18394,7 @@ impl<'a, C, A> EventListByPlayerCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_games1 as games1; /// # #[test] fn egal() { @@ -18335,9 +18404,9 @@ impl<'a, C, A> EventListByPlayerCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Games::new(hyper::Client::new(), auth); +/// # let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18586,6 +18655,7 @@ impl<'a, C, A> QuestMilestoneClaimCall<'a, C, A> where C: BorrowMut QuestMilestoneClaimCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Games::new(hyper::Client::new(), auth); +/// # let mut hub = Games::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/gamesconfiguration1_configuration-cli/Cargo.toml b/gen/gamesconfiguration1_configuration-cli/Cargo.toml index 26f69a4ba0..d5a48a4ef4 100644 --- a/gen/gamesconfiguration1_configuration-cli/Cargo.toml +++ b/gen/gamesconfiguration1_configuration-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["gamesConfiguration", "google", "cli"] [[bin]] name = "gamesconfiguration1-configuration" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/gamesconfiguration1_configuration/Cargo.toml b/gen/gamesconfiguration1_configuration/Cargo.toml index 22d8643a3c..3afe81756e 100644 --- a/gen/gamesconfiguration1_configuration/Cargo.toml +++ b/gen/gamesconfiguration1_configuration/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["gamesConfiguration", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/gamesconfiguration1_configuration/README.md b/gen/gamesconfiguration1_configuration/README.md index 3c8f0c82f1..7c70daf20f 100644 --- a/gen/gamesconfiguration1_configuration/README.md +++ b/gen/gamesconfiguration1_configuration/README.md @@ -83,6 +83,7 @@ google-gamesconfiguration1_configuration = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_gamesconfiguration1_configuration as gamesconfiguration1_configuration; use gamesconfiguration1_configuration::{Result, Error}; @@ -99,9 +100,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = GamesConfiguration::new(hyper::Client::new(), auth); +let mut hub = GamesConfiguration::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! diff --git a/gen/gamesconfiguration1_configuration/src/lib.rs b/gen/gamesconfiguration1_configuration/src/lib.rs index 21a04e6aaa..56286d6983 100644 --- a/gen/gamesconfiguration1_configuration/src/lib.rs +++ b/gen/gamesconfiguration1_configuration/src/lib.rs @@ -83,6 +83,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_gamesconfiguration1_configuration as gamesconfiguration1_configuration; //! use gamesconfiguration1_configuration::{Result, Error}; @@ -100,9 +101,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = GamesConfiguration::new(hyper::Client::new(), auth); +//! let mut hub = GamesConfiguration::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! @@ -263,6 +264,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_gamesconfiguration1_configuration as gamesconfiguration1_configuration; /// use gamesconfiguration1_configuration::{Result, Error}; @@ -280,9 +282,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = GamesConfiguration::new(hyper::Client::new(), auth); +/// let mut hub = GamesConfiguration::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -683,6 +685,7 @@ impl Part for LeaderboardConfigurationDetail {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_gamesconfiguration1_configuration as gamesconfiguration1_configuration; /// @@ -693,9 +696,9 @@ impl Part for LeaderboardConfigurationDetail {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = GamesConfiguration::new(hyper::Client::new(), auth); +/// let mut hub = GamesConfiguration::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `upload(...)` /// // to build up your call. @@ -743,6 +746,7 @@ impl<'a, C, A> ImageConfigurationMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_gamesconfiguration1_configuration as gamesconfiguration1_configuration; /// @@ -753,9 +757,9 @@ impl<'a, C, A> ImageConfigurationMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = GamesConfiguration::new(hyper::Client::new(), auth); +/// let mut hub = GamesConfiguration::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -894,6 +898,7 @@ impl<'a, C, A> AchievementConfigurationMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_gamesconfiguration1_configuration as gamesconfiguration1_configuration; /// @@ -904,9 +909,9 @@ impl<'a, C, A> AchievementConfigurationMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = GamesConfiguration::new(hyper::Client::new(), auth); +/// let mut hub = GamesConfiguration::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -1053,6 +1058,7 @@ impl<'a, C, A> LeaderboardConfigurationMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gamesconfiguration1_configuration as gamesconfiguration1_configuration; /// use std::fs; @@ -1063,9 +1069,9 @@ impl<'a, C, A> LeaderboardConfigurationMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = GamesConfiguration::new(hyper::Client::new(), auth); +/// # let mut hub = GamesConfiguration::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `upload(...)`. /// // Values shown here are possibly random and not representative ! @@ -1409,6 +1415,7 @@ impl<'a, C, A> ImageConfigurationUploadCall<'a, C, A> where C: BorrowMut ImageConfigurationUploadCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = GamesConfiguration::new(hyper::Client::new(), auth); +/// # let mut hub = GamesConfiguration::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1668,6 +1675,7 @@ impl<'a, C, A> AchievementConfigurationListCall<'a, C, A> where C: BorrowMut AchievementConfigurationListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = GamesConfiguration::new(hyper::Client::new(), auth); +/// # let mut hub = GamesConfiguration::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1934,6 +1942,7 @@ impl<'a, C, A> AchievementConfigurationUpdateCall<'a, C, A> where C: BorrowMut AchievementConfigurationUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = GamesConfiguration::new(hyper::Client::new(), auth); +/// # let mut hub = GamesConfiguration::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2200,6 +2209,7 @@ impl<'a, C, A> AchievementConfigurationInsertCall<'a, C, A> where C: BorrowMut AchievementConfigurationInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = GamesConfiguration::new(hyper::Client::new(), auth); +/// # let mut hub = GamesConfiguration::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2435,6 +2445,7 @@ impl<'a, C, A> AchievementConfigurationGetCall<'a, C, A> where C: BorrowMut AchievementConfigurationGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = GamesConfiguration::new(hyper::Client::new(), auth); +/// # let mut hub = GamesConfiguration::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2701,6 +2712,7 @@ impl<'a, C, A> AchievementConfigurationPatchCall<'a, C, A> where C: BorrowMut AchievementConfigurationPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = GamesConfiguration::new(hyper::Client::new(), auth); +/// # let mut hub = GamesConfiguration::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2925,6 +2937,7 @@ impl<'a, C, A> AchievementConfigurationDeleteCall<'a, C, A> where C: BorrowMut AchievementConfigurationDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = GamesConfiguration::new(hyper::Client::new(), auth); +/// # let mut hub = GamesConfiguration::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3191,6 +3204,7 @@ impl<'a, C, A> LeaderboardConfigurationInsertCall<'a, C, A> where C: BorrowMut LeaderboardConfigurationInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = GamesConfiguration::new(hyper::Client::new(), auth); +/// # let mut hub = GamesConfiguration::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3426,6 +3440,7 @@ impl<'a, C, A> LeaderboardConfigurationGetCall<'a, C, A> where C: BorrowMut LeaderboardConfigurationGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = GamesConfiguration::new(hyper::Client::new(), auth); +/// # let mut hub = GamesConfiguration::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3692,6 +3707,7 @@ impl<'a, C, A> LeaderboardConfigurationPatchCall<'a, C, A> where C: BorrowMut LeaderboardConfigurationPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = GamesConfiguration::new(hyper::Client::new(), auth); +/// # let mut hub = GamesConfiguration::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3958,6 +3974,7 @@ impl<'a, C, A> LeaderboardConfigurationUpdateCall<'a, C, A> where C: BorrowMut LeaderboardConfigurationUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = GamesConfiguration::new(hyper::Client::new(), auth); +/// # let mut hub = GamesConfiguration::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4217,6 +4234,7 @@ impl<'a, C, A> LeaderboardConfigurationListCall<'a, C, A> where C: BorrowMut LeaderboardConfigurationListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = GamesConfiguration::new(hyper::Client::new(), auth); +/// # let mut hub = GamesConfiguration::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/gamesmanagement1_management-cli/Cargo.toml b/gen/gamesmanagement1_management-cli/Cargo.toml index 29f39ebc9e..9cc729c00b 100644 --- a/gen/gamesmanagement1_management-cli/Cargo.toml +++ b/gen/gamesmanagement1_management-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["gamesManagement", "google", "cli"] [[bin]] name = "gamesmanagement1-management" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/gamesmanagement1_management/Cargo.toml b/gen/gamesmanagement1_management/Cargo.toml index ba10bdead5..cb90d0b27e 100644 --- a/gen/gamesmanagement1_management/Cargo.toml +++ b/gen/gamesmanagement1_management/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["gamesManagement", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/gamesmanagement1_management/README.md b/gen/gamesmanagement1_management/README.md index 05dd21fff3..1ee7c70040 100644 --- a/gen/gamesmanagement1_management/README.md +++ b/gen/gamesmanagement1_management/README.md @@ -85,6 +85,7 @@ google-gamesmanagement1_management = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_gamesmanagement1_management as gamesmanagement1_management; use gamesmanagement1_management::{Result, Error}; @@ -101,9 +102,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = GamesManagement::new(hyper::Client::new(), auth); +let mut hub = GamesManagement::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! diff --git a/gen/gamesmanagement1_management/src/lib.rs b/gen/gamesmanagement1_management/src/lib.rs index ded76f5e56..8002886981 100644 --- a/gen/gamesmanagement1_management/src/lib.rs +++ b/gen/gamesmanagement1_management/src/lib.rs @@ -85,6 +85,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_gamesmanagement1_management as gamesmanagement1_management; //! use gamesmanagement1_management::{Result, Error}; @@ -102,9 +103,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = GamesManagement::new(hyper::Client::new(), auth); +//! let mut hub = GamesManagement::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! @@ -267,6 +268,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_gamesmanagement1_management as gamesmanagement1_management; /// use gamesmanagement1_management::{Result, Error}; @@ -284,9 +286,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = GamesManagement::new(hyper::Client::new(), auth); +/// let mut hub = GamesManagement::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -765,6 +767,7 @@ impl Part for HiddenPlayer {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_gamesmanagement1_management as gamesmanagement1_management; /// @@ -775,9 +778,9 @@ impl Part for HiddenPlayer {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = GamesManagement::new(hyper::Client::new(), auth); +/// let mut hub = GamesManagement::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `reset(...)`, `reset_all(...)`, `reset_all_for_all_players(...)`, `reset_for_all_players(...)` and `reset_multiple_for_all_players(...)` /// // to build up your call. @@ -881,6 +884,7 @@ impl<'a, C, A> AchievementMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_gamesmanagement1_management as gamesmanagement1_management; /// @@ -891,9 +895,9 @@ impl<'a, C, A> AchievementMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = GamesManagement::new(hyper::Client::new(), auth); +/// let mut hub = GamesManagement::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `hide(...)` and `unhide(...)` /// // to build up your call. @@ -960,6 +964,7 @@ impl<'a, C, A> PlayerMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_gamesmanagement1_management as gamesmanagement1_management; /// @@ -970,9 +975,9 @@ impl<'a, C, A> PlayerMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = GamesManagement::new(hyper::Client::new(), auth); +/// let mut hub = GamesManagement::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `reset(...)`, `reset_all(...)`, `reset_all_for_all_players(...)`, `reset_for_all_players(...)` and `reset_multiple_for_all_players(...)` /// // to build up your call. @@ -1076,6 +1081,7 @@ impl<'a, C, A> ScoreMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_gamesmanagement1_management as gamesmanagement1_management; /// @@ -1086,9 +1092,9 @@ impl<'a, C, A> ScoreMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = GamesManagement::new(hyper::Client::new(), auth); +/// let mut hub = GamesManagement::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `reset(...)` and `reset_for_all_players(...)` /// // to build up your call. @@ -1141,6 +1147,7 @@ impl<'a, C, A> TurnBasedMatcheMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_gamesmanagement1_management as gamesmanagement1_management; /// @@ -1151,9 +1158,9 @@ impl<'a, C, A> TurnBasedMatcheMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = GamesManagement::new(hyper::Client::new(), auth); +/// let mut hub = GamesManagement::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list_hidden(...)` /// // to build up your call. @@ -1201,6 +1208,7 @@ impl<'a, C, A> ApplicationMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_gamesmanagement1_management as gamesmanagement1_management; /// @@ -1211,9 +1219,9 @@ impl<'a, C, A> ApplicationMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = GamesManagement::new(hyper::Client::new(), auth); +/// let mut hub = GamesManagement::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `reset(...)` and `reset_for_all_players(...)` /// // to build up your call. @@ -1266,6 +1274,7 @@ impl<'a, C, A> RoomMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_gamesmanagement1_management as gamesmanagement1_management; /// @@ -1276,9 +1285,9 @@ impl<'a, C, A> RoomMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = GamesManagement::new(hyper::Client::new(), auth); +/// let mut hub = GamesManagement::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `reset(...)`, `reset_all(...)`, `reset_all_for_all_players(...)`, `reset_for_all_players(...)` and `reset_multiple_for_all_players(...)` /// // to build up your call. @@ -1382,6 +1391,7 @@ impl<'a, C, A> QuestMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_gamesmanagement1_management as gamesmanagement1_management; /// @@ -1392,9 +1402,9 @@ impl<'a, C, A> QuestMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = GamesManagement::new(hyper::Client::new(), auth); +/// let mut hub = GamesManagement::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `reset(...)`, `reset_all(...)`, `reset_all_for_all_players(...)`, `reset_for_all_players(...)` and `reset_multiple_for_all_players(...)` /// // to build up your call. @@ -1506,6 +1516,7 @@ impl<'a, C, A> EventMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gamesmanagement1_management as gamesmanagement1_management; /// # #[test] fn egal() { @@ -1515,9 +1526,9 @@ impl<'a, C, A> EventMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = GamesManagement::new(hyper::Client::new(), auth); +/// # let mut hub = GamesManagement::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1697,6 +1708,7 @@ impl<'a, C, A> AchievementResetAllForAllPlayerCall<'a, C, A> where C: BorrowMut< /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gamesmanagement1_management as gamesmanagement1_management; /// # #[test] fn egal() { @@ -1706,9 +1718,9 @@ impl<'a, C, A> AchievementResetAllForAllPlayerCall<'a, C, A> where C: BorrowMut< /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = GamesManagement::new(hyper::Client::new(), auth); +/// # let mut hub = GamesManagement::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1921,6 +1933,7 @@ impl<'a, C, A> AchievementResetForAllPlayerCall<'a, C, A> where C: BorrowMut AchievementResetForAllPlayerCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = GamesManagement::new(hyper::Client::new(), auth); +/// # let mut hub = GamesManagement::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2156,6 +2169,7 @@ impl<'a, C, A> AchievementResetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gamesmanagement1_management as gamesmanagement1_management; /// use gamesmanagement1_management::AchievementResetMultipleForAllRequest; @@ -2166,9 +2180,9 @@ impl<'a, C, A> AchievementResetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = GamesManagement::new(hyper::Client::new(), auth); +/// # let mut hub = GamesManagement::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2378,6 +2392,7 @@ impl<'a, C, A> AchievementResetMultipleForAllPlayerCall<'a, C, A> where C: Borro /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gamesmanagement1_management as gamesmanagement1_management; /// # #[test] fn egal() { @@ -2387,9 +2402,9 @@ impl<'a, C, A> AchievementResetMultipleForAllPlayerCall<'a, C, A> where C: Borro /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = GamesManagement::new(hyper::Client::new(), auth); +/// # let mut hub = GamesManagement::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2580,6 +2595,7 @@ impl<'a, C, A> AchievementResetAllCall<'a, C, A> where C: BorrowMut AchievementResetAllCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = GamesManagement::new(hyper::Client::new(), auth); +/// # let mut hub = GamesManagement::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2816,6 +2832,7 @@ impl<'a, C, A> PlayerHideCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gamesmanagement1_management as gamesmanagement1_management; /// # #[test] fn egal() { @@ -2825,9 +2842,9 @@ impl<'a, C, A> PlayerHideCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = GamesManagement::new(hyper::Client::new(), auth); +/// # let mut hub = GamesManagement::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3052,6 +3069,7 @@ impl<'a, C, A> PlayerUnhideCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gamesmanagement1_management as gamesmanagement1_management; /// use gamesmanagement1_management::ScoresResetMultipleForAllRequest; @@ -3062,9 +3080,9 @@ impl<'a, C, A> PlayerUnhideCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = GamesManagement::new(hyper::Client::new(), auth); +/// # let mut hub = GamesManagement::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3274,6 +3292,7 @@ impl<'a, C, A> ScoreResetMultipleForAllPlayerCall<'a, C, A> where C: BorrowMut ScoreResetMultipleForAllPlayerCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = GamesManagement::new(hyper::Client::new(), auth); +/// # let mut hub = GamesManagement::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3465,6 +3484,7 @@ impl<'a, C, A> ScoreResetAllForAllPlayerCall<'a, C, A> where C: BorrowMut ScoreResetAllForAllPlayerCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = GamesManagement::new(hyper::Client::new(), auth); +/// # let mut hub = GamesManagement::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3667,6 +3687,7 @@ impl<'a, C, A> ScoreResetAllCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gamesmanagement1_management as gamesmanagement1_management; /// # #[test] fn egal() { @@ -3676,9 +3697,9 @@ impl<'a, C, A> ScoreResetAllCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = GamesManagement::new(hyper::Client::new(), auth); +/// # let mut hub = GamesManagement::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3891,6 +3912,7 @@ impl<'a, C, A> ScoreResetForAllPlayerCall<'a, C, A> where C: BorrowMut ScoreResetForAllPlayerCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = GamesManagement::new(hyper::Client::new(), auth); +/// # let mut hub = GamesManagement::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4126,6 +4148,7 @@ impl<'a, C, A> ScoreResetCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gamesmanagement1_management as gamesmanagement1_management; /// # #[test] fn egal() { @@ -4135,9 +4158,9 @@ impl<'a, C, A> ScoreResetCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = GamesManagement::new(hyper::Client::new(), auth); +/// # let mut hub = GamesManagement::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4317,6 +4340,7 @@ impl<'a, C, A> TurnBasedMatcheResetCall<'a, C, A> where C: BorrowMut TurnBasedMatcheResetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = GamesManagement::new(hyper::Client::new(), auth); +/// # let mut hub = GamesManagement::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4508,6 +4532,7 @@ impl<'a, C, A> TurnBasedMatcheResetForAllPlayerCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gamesmanagement1_management as gamesmanagement1_management; /// # #[test] fn egal() { @@ -4517,9 +4542,9 @@ impl<'a, C, A> TurnBasedMatcheResetForAllPlayerCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = GamesManagement::new(hyper::Client::new(), auth); +/// # let mut hub = GamesManagement::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4767,6 +4792,7 @@ impl<'a, C, A> ApplicationListHiddenCall<'a, C, A> where C: BorrowMut ApplicationListHiddenCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = GamesManagement::new(hyper::Client::new(), auth); +/// # let mut hub = GamesManagement::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4958,6 +4984,7 @@ impl<'a, C, A> RoomResetForAllPlayerCall<'a, C, A> where C: BorrowMut RoomResetForAllPlayerCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = GamesManagement::new(hyper::Client::new(), auth); +/// # let mut hub = GamesManagement::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5149,6 +5176,7 @@ impl<'a, C, A> RoomResetCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gamesmanagement1_management as gamesmanagement1_management; /// # #[test] fn egal() { @@ -5158,9 +5186,9 @@ impl<'a, C, A> RoomResetCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = GamesManagement::new(hyper::Client::new(), auth); +/// # let mut hub = GamesManagement::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5340,6 +5368,7 @@ impl<'a, C, A> QuestResetAllForAllPlayerCall<'a, C, A> where C: BorrowMut QuestResetAllForAllPlayerCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = GamesManagement::new(hyper::Client::new(), auth); +/// # let mut hub = GamesManagement::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5562,6 +5591,7 @@ impl<'a, C, A> QuestResetMultipleForAllPlayerCall<'a, C, A> where C: BorrowMut QuestResetMultipleForAllPlayerCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = GamesManagement::new(hyper::Client::new(), auth); +/// # let mut hub = GamesManagement::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5753,6 +5783,7 @@ impl<'a, C, A> QuestResetAllCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gamesmanagement1_management as gamesmanagement1_management; /// # #[test] fn egal() { @@ -5762,9 +5793,9 @@ impl<'a, C, A> QuestResetAllCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = GamesManagement::new(hyper::Client::new(), auth); +/// # let mut hub = GamesManagement::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5977,6 +6008,7 @@ impl<'a, C, A> QuestResetForAllPlayerCall<'a, C, A> where C: BorrowMut QuestResetForAllPlayerCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = GamesManagement::new(hyper::Client::new(), auth); +/// # let mut hub = GamesManagement::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6201,6 +6233,7 @@ impl<'a, C, A> QuestResetCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gamesmanagement1_management as gamesmanagement1_management; /// # #[test] fn egal() { @@ -6210,9 +6243,9 @@ impl<'a, C, A> QuestResetCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = GamesManagement::new(hyper::Client::new(), auth); +/// # let mut hub = GamesManagement::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6392,6 +6425,7 @@ impl<'a, C, A> EventResetAllForAllPlayerCall<'a, C, A> where C: BorrowMut EventResetAllForAllPlayerCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = GamesManagement::new(hyper::Client::new(), auth); +/// # let mut hub = GamesManagement::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6616,6 +6650,7 @@ impl<'a, C, A> EventResetCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gamesmanagement1_management as gamesmanagement1_management; /// # #[test] fn egal() { @@ -6625,9 +6660,9 @@ impl<'a, C, A> EventResetCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = GamesManagement::new(hyper::Client::new(), auth); +/// # let mut hub = GamesManagement::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6807,6 +6842,7 @@ impl<'a, C, A> EventResetAllCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gamesmanagement1_management as gamesmanagement1_management; /// use gamesmanagement1_management::EventsResetMultipleForAllRequest; @@ -6817,9 +6853,9 @@ impl<'a, C, A> EventResetAllCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = GamesManagement::new(hyper::Client::new(), auth); +/// # let mut hub = GamesManagement::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7029,6 +7065,7 @@ impl<'a, C, A> EventResetMultipleForAllPlayerCall<'a, C, A> where C: BorrowMut EventResetMultipleForAllPlayerCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = GamesManagement::new(hyper::Client::new(), auth); +/// # let mut hub = GamesManagement::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/gan1_beta1-cli/Cargo.toml b/gen/gan1_beta1-cli/Cargo.toml index 0f61a26dc8..8df8c13074 100644 --- a/gen/gan1_beta1-cli/Cargo.toml +++ b/gen/gan1_beta1-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["gan", "google", "cli"] [[bin]] name = "gan1-beta1" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/gan1_beta1/Cargo.toml b/gen/gan1_beta1/Cargo.toml index 9b0f519536..cd27b1727f 100644 --- a/gen/gan1_beta1/Cargo.toml +++ b/gen/gan1_beta1/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["gan", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/gan1_beta1/README.md b/gen/gan1_beta1/README.md index 0bf9f9b727..5dd611ad76 100644 --- a/gen/gan1_beta1/README.md +++ b/gen/gan1_beta1/README.md @@ -82,6 +82,7 @@ google-gan1_beta1 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_gan1_beta1 as gan1_beta1; use gan1_beta1::{Result, Error}; @@ -98,9 +99,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Gan::new(hyper::Client::new(), auth); +let mut hub = Gan::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! diff --git a/gen/gan1_beta1/src/lib.rs b/gen/gan1_beta1/src/lib.rs index 166a7d0837..b0bd08d685 100644 --- a/gen/gan1_beta1/src/lib.rs +++ b/gen/gan1_beta1/src/lib.rs @@ -82,6 +82,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_gan1_beta1 as gan1_beta1; //! use gan1_beta1::{Result, Error}; @@ -99,9 +100,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Gan::new(hyper::Client::new(), auth); +//! let mut hub = Gan::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! @@ -251,6 +252,7 @@ pub use cmn::{MultiPartReader, ToParts, MethodInfo, Result, Error, CallBuilder, /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_gan1_beta1 as gan1_beta1; /// use gan1_beta1::{Result, Error}; @@ -268,9 +270,9 @@ pub use cmn::{MultiPartReader, ToParts, MethodInfo, Result, Error, CallBuilder, /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Gan::new(hyper::Client::new(), auth); +/// let mut hub = Gan::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1154,6 +1156,7 @@ impl Resource for CcOffer {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_gan1_beta1 as gan1_beta1; /// @@ -1164,9 +1167,9 @@ impl Resource for CcOffer {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Gan::new(hyper::Client::new(), auth); +/// let mut hub = Gan::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -1239,6 +1242,7 @@ impl<'a, C, A> PublisherMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_gan1_beta1 as gan1_beta1; /// @@ -1249,9 +1253,9 @@ impl<'a, C, A> PublisherMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Gan::new(hyper::Client::new(), auth); +/// let mut hub = Gan::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -1351,6 +1355,7 @@ impl<'a, C, A> LinkMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_gan1_beta1 as gan1_beta1; /// @@ -1361,9 +1366,9 @@ impl<'a, C, A> LinkMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Gan::new(hyper::Client::new(), auth); +/// let mut hub = Gan::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -1423,6 +1428,7 @@ impl<'a, C, A> ReportMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_gan1_beta1 as gan1_beta1; /// @@ -1433,9 +1439,9 @@ impl<'a, C, A> ReportMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Gan::new(hyper::Client::new(), auth); +/// let mut hub = Gan::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -1482,6 +1488,7 @@ impl<'a, C, A> CcOfferMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_gan1_beta1 as gan1_beta1; /// @@ -1492,9 +1499,9 @@ impl<'a, C, A> CcOfferMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Gan::new(hyper::Client::new(), auth); +/// let mut hub = Gan::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -1567,6 +1574,7 @@ impl<'a, C, A> AdvertiserMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_gan1_beta1 as gan1_beta1; /// @@ -1577,9 +1585,9 @@ impl<'a, C, A> AdvertiserMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Gan::new(hyper::Client::new(), auth); +/// let mut hub = Gan::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -1650,6 +1658,7 @@ impl<'a, C, A> EventMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gan1_beta1 as gan1_beta1; /// # #[test] fn egal() { @@ -1659,9 +1668,9 @@ impl<'a, C, A> EventMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Gan::new(hyper::Client::new(), auth); +/// # let mut hub = Gan::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1959,6 +1968,7 @@ impl<'a, C, A> PublisherListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gan1_beta1 as gan1_beta1; /// # #[test] fn egal() { @@ -1968,9 +1978,9 @@ impl<'a, C, A> PublisherListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Gan::new(hyper::Client::new(), auth); +/// # let mut hub = Gan::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2196,6 +2206,7 @@ impl<'a, C, A> PublisherGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gan1_beta1 as gan1_beta1; /// use gan1_beta1::Link; @@ -2206,9 +2217,9 @@ impl<'a, C, A> PublisherGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Gan::new(hyper::Client::new(), auth); +/// # let mut hub = Gan::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2452,6 +2463,7 @@ impl<'a, C, A> LinkInsertCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gan1_beta1 as gan1_beta1; /// # #[test] fn egal() { @@ -2461,9 +2473,9 @@ impl<'a, C, A> LinkInsertCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Gan::new(hyper::Client::new(), auth); +/// # let mut hub = Gan::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2689,6 +2701,7 @@ impl<'a, C, A> LinkGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gan1_beta1 as gan1_beta1; /// # #[test] fn egal() { @@ -2698,9 +2711,9 @@ impl<'a, C, A> LinkGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Gan::new(hyper::Client::new(), auth); +/// # let mut hub = Gan::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3079,6 +3092,7 @@ impl<'a, C, A> LinkListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gan1_beta1 as gan1_beta1; /// # #[test] fn egal() { @@ -3088,9 +3102,9 @@ impl<'a, C, A> LinkListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Gan::new(hyper::Client::new(), auth); +/// # let mut hub = Gan::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3460,6 +3474,7 @@ impl<'a, C, A> ReportGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gan1_beta1 as gan1_beta1; /// # #[test] fn egal() { @@ -3469,9 +3484,9 @@ impl<'a, C, A> ReportGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Gan::new(hyper::Client::new(), auth); +/// # let mut hub = Gan::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3700,6 +3715,7 @@ impl<'a, C, A> CcOfferListCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gan1_beta1 as gan1_beta1; /// # #[test] fn egal() { @@ -3709,9 +3725,9 @@ impl<'a, C, A> CcOfferListCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Gan::new(hyper::Client::new(), auth); +/// # let mut hub = Gan::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3937,6 +3953,7 @@ impl<'a, C, A> AdvertiserGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gan1_beta1 as gan1_beta1; /// # #[test] fn egal() { @@ -3946,9 +3963,9 @@ impl<'a, C, A> AdvertiserGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Gan::new(hyper::Client::new(), auth); +/// # let mut hub = Gan::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4246,6 +4263,7 @@ impl<'a, C, A> AdvertiserListCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gan1_beta1 as gan1_beta1; /// # #[test] fn egal() { @@ -4255,9 +4273,9 @@ impl<'a, C, A> AdvertiserListCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Gan::new(hyper::Client::new(), auth); +/// # let mut hub = Gan::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/genomics1-cli/Cargo.toml b/gen/genomics1-cli/Cargo.toml index cecbb3cc8a..a633af51e8 100644 --- a/gen/genomics1-cli/Cargo.toml +++ b/gen/genomics1-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["genomics", "google", "cli"] [[bin]] name = "genomics1" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/genomics1/Cargo.toml b/gen/genomics1/Cargo.toml index 5a2e55e57c..0e473f3b9b 100644 --- a/gen/genomics1/Cargo.toml +++ b/gen/genomics1/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["genomics", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/genomics1/README.md b/gen/genomics1/README.md index 6a1a26323f..5963670cef 100644 --- a/gen/genomics1/README.md +++ b/gen/genomics1/README.md @@ -98,6 +98,7 @@ google-genomics1 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_genomics1 as genomics1; use genomics1::Dataset; @@ -115,9 +116,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Genomics::new(hyper::Client::new(), auth); +let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! diff --git a/gen/genomics1/src/lib.rs b/gen/genomics1/src/lib.rs index ced68cd19c..a00d65d9a5 100644 --- a/gen/genomics1/src/lib.rs +++ b/gen/genomics1/src/lib.rs @@ -98,6 +98,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_genomics1 as genomics1; //! use genomics1::Dataset; @@ -116,9 +117,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Genomics::new(hyper::Client::new(), auth); +//! let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! @@ -299,6 +300,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_genomics1 as genomics1; /// use genomics1::Dataset; @@ -317,9 +319,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Genomics::new(hyper::Client::new(), auth); +/// let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2847,6 +2849,7 @@ impl RequestValue for UndeleteDatasetRequest {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_genomics1 as genomics1; /// @@ -2857,9 +2860,9 @@ impl RequestValue for UndeleteDatasetRequest {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Genomics::new(hyper::Client::new(), auth); +/// let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `cancel(...)`, `get(...)` and `list(...)` /// // to build up your call. @@ -2946,6 +2949,7 @@ impl<'a, C, A> OperationMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_genomics1 as genomics1; /// @@ -2956,9 +2960,9 @@ impl<'a, C, A> OperationMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Genomics::new(hyper::Client::new(), auth); +/// let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `delete(...)`, `get(...)`, `get_iam_policy(...)`, `list(...)`, `patch(...)`, `set_iam_policy(...)`, `test_iam_permissions(...)` and `undelete(...)` /// // to build up your call. @@ -3207,6 +3211,7 @@ impl<'a, C, A> DatasetMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_genomics1 as genomics1; /// @@ -3217,9 +3222,9 @@ impl<'a, C, A> DatasetMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Genomics::new(hyper::Client::new(), auth); +/// let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `search(...)` /// // to build up your call. @@ -3296,6 +3301,7 @@ impl<'a, C, A> ReferencesetMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_genomics1 as genomics1; /// @@ -3306,9 +3312,9 @@ impl<'a, C, A> ReferencesetMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Genomics::new(hyper::Client::new(), auth); +/// let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `delete(...)`, `get(...)`, `patch(...)` and `search(...)` /// // to build up your call. @@ -3450,6 +3456,7 @@ impl<'a, C, A> CallsetMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_genomics1 as genomics1; /// @@ -3460,9 +3467,9 @@ impl<'a, C, A> CallsetMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Genomics::new(hyper::Client::new(), auth); +/// let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `search(...)` /// // to build up your call. @@ -3531,6 +3538,7 @@ impl<'a, C, A> ReadMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_genomics1 as genomics1; /// @@ -3541,9 +3549,9 @@ impl<'a, C, A> ReadMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Genomics::new(hyper::Client::new(), auth); +/// let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `coveragebuckets_list(...)`, `delete(...)`, `export(...)`, `get(...)`, `import(...)`, `patch(...)` and `search(...)` /// // to build up your call. @@ -3764,6 +3772,7 @@ impl<'a, C, A> ReadgroupsetMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_genomics1 as genomics1; /// @@ -3774,9 +3783,9 @@ impl<'a, C, A> ReadgroupsetMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Genomics::new(hyper::Client::new(), auth); +/// let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `bases_list(...)`, `get(...)` and `search(...)` /// // to build up your call. @@ -3881,6 +3890,7 @@ impl<'a, C, A> ReferenceMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_genomics1 as genomics1; /// @@ -3891,9 +3901,9 @@ impl<'a, C, A> ReferenceMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Genomics::new(hyper::Client::new(), auth); +/// let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `delete(...)`, `get(...)`, `import(...)`, `merge(...)`, `patch(...)` and `search(...)` /// // to build up your call. @@ -4177,6 +4187,7 @@ impl<'a, C, A> VariantMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_genomics1 as genomics1; /// @@ -4187,9 +4198,9 @@ impl<'a, C, A> VariantMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Genomics::new(hyper::Client::new(), auth); +/// let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `batch_create(...)`, `create(...)`, `delete(...)`, `get(...)`, `search(...)` and `update(...)` /// // to build up your call. @@ -4366,6 +4377,7 @@ impl<'a, C, A> AnnotationMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_genomics1 as genomics1; /// @@ -4376,9 +4388,9 @@ impl<'a, C, A> AnnotationMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Genomics::new(hyper::Client::new(), auth); +/// let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `delete(...)`, `get(...)`, `search(...)` and `update(...)` /// // to build up your call. @@ -4512,6 +4524,7 @@ impl<'a, C, A> AnnotationsetMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_genomics1 as genomics1; /// @@ -4522,9 +4535,9 @@ impl<'a, C, A> AnnotationsetMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Genomics::new(hyper::Client::new(), auth); +/// let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `delete(...)`, `export(...)`, `get(...)`, `patch(...)` and `search(...)` /// // to build up your call. @@ -4701,6 +4714,7 @@ impl<'a, C, A> VariantsetMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_genomics1 as genomics1; /// use genomics1::CancelOperationRequest; @@ -4711,9 +4725,9 @@ impl<'a, C, A> VariantsetMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Genomics::new(hyper::Client::new(), auth); +/// # let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4979,6 +4993,7 @@ impl<'a, C, A> OperationCancelCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_genomics1 as genomics1; /// # #[test] fn egal() { @@ -4988,9 +5003,9 @@ impl<'a, C, A> OperationCancelCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Genomics::new(hyper::Client::new(), auth); +/// # let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5224,6 +5239,7 @@ impl<'a, C, A> OperationGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_genomics1 as genomics1; /// # #[test] fn egal() { @@ -5233,9 +5249,9 @@ impl<'a, C, A> OperationGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Genomics::new(hyper::Client::new(), auth); +/// # let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5527,6 +5543,7 @@ impl<'a, C, A> OperationListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_genomics1 as genomics1; /// use genomics1::Dataset; @@ -5537,9 +5554,9 @@ impl<'a, C, A> OperationListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Genomics::new(hyper::Client::new(), auth); +/// # let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5775,6 +5792,7 @@ impl<'a, C, A> DatasetCreateCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_genomics1 as genomics1; /// # #[test] fn egal() { @@ -5784,9 +5802,9 @@ impl<'a, C, A> DatasetCreateCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Genomics::new(hyper::Client::new(), auth); +/// # let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6022,6 +6040,7 @@ impl<'a, C, A> DatasetDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_genomics1 as genomics1; /// use genomics1::UndeleteDatasetRequest; @@ -6032,9 +6051,9 @@ impl<'a, C, A> DatasetDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Genomics::new(hyper::Client::new(), auth); +/// # let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6302,6 +6321,7 @@ impl<'a, C, A> DatasetUndeleteCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_genomics1 as genomics1; /// use genomics1::SetIamPolicyRequest; @@ -6312,9 +6332,9 @@ impl<'a, C, A> DatasetUndeleteCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Genomics::new(hyper::Client::new(), auth); +/// # let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6585,6 +6605,7 @@ impl<'a, C, A> DatasetSetIamPolicyCall<'a, C, A> where C: BorrowMut DatasetSetIamPolicyCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Genomics::new(hyper::Client::new(), auth); +/// # let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6866,6 +6887,7 @@ impl<'a, C, A> DatasetTestIamPermissionCall<'a, C, A> where C: BorrowMut DatasetTestIamPermissionCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Genomics::new(hyper::Client::new(), auth); +/// # let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7111,6 +7133,7 @@ impl<'a, C, A> DatasetGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_genomics1 as genomics1; /// # #[test] fn egal() { @@ -7120,9 +7143,9 @@ impl<'a, C, A> DatasetGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Genomics::new(hyper::Client::new(), auth); +/// # let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7366,6 +7389,7 @@ impl<'a, C, A> DatasetListCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_genomics1 as genomics1; /// use genomics1::GetIamPolicyRequest; @@ -7376,9 +7400,9 @@ impl<'a, C, A> DatasetListCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Genomics::new(hyper::Client::new(), auth); +/// # let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7649,6 +7673,7 @@ impl<'a, C, A> DatasetGetIamPolicyCall<'a, C, A> where C: BorrowMut DatasetGetIamPolicyCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Genomics::new(hyper::Client::new(), auth); +/// # let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7943,6 +7968,7 @@ impl<'a, C, A> DatasetPatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_genomics1 as genomics1; /// use genomics1::SearchReferenceSetsRequest; @@ -7953,9 +7979,9 @@ impl<'a, C, A> DatasetPatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Genomics::new(hyper::Client::new(), auth); +/// # let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8189,6 +8215,7 @@ impl<'a, C, A> ReferencesetSearchCall<'a, C, A> where C: BorrowMut ReferencesetSearchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Genomics::new(hyper::Client::new(), auth); +/// # let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8437,6 +8464,7 @@ impl<'a, C, A> ReferencesetGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_genomics1 as genomics1; /// use genomics1::SearchCallSetsRequest; @@ -8447,9 +8475,9 @@ impl<'a, C, A> ReferencesetGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Genomics::new(hyper::Client::new(), auth); +/// # let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8682,6 +8710,7 @@ impl<'a, C, A> CallsetSearchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_genomics1 as genomics1; /// use genomics1::CallSet; @@ -8692,9 +8721,9 @@ impl<'a, C, A> CallsetSearchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Genomics::new(hyper::Client::new(), auth); +/// # let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8973,6 +9002,7 @@ impl<'a, C, A> CallsetPatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_genomics1 as genomics1; /// use genomics1::CallSet; @@ -8983,9 +9013,9 @@ impl<'a, C, A> CallsetPatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Genomics::new(hyper::Client::new(), auth); +/// # let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9216,6 +9246,7 @@ impl<'a, C, A> CallsetCreateCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_genomics1 as genomics1; /// # #[test] fn egal() { @@ -9225,9 +9256,9 @@ impl<'a, C, A> CallsetCreateCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Genomics::new(hyper::Client::new(), auth); +/// # let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9461,6 +9492,7 @@ impl<'a, C, A> CallsetDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_genomics1 as genomics1; /// # #[test] fn egal() { @@ -9470,9 +9502,9 @@ impl<'a, C, A> CallsetDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Genomics::new(hyper::Client::new(), auth); +/// # let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9725,6 +9757,7 @@ impl<'a, C, A> CallsetGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_genomics1 as genomics1; /// use genomics1::SearchReadsRequest; @@ -9735,9 +9768,9 @@ impl<'a, C, A> CallsetGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Genomics::new(hyper::Client::new(), auth); +/// # let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9973,6 +10006,7 @@ impl<'a, C, A> ReadSearchCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_genomics1 as genomics1; /// use genomics1::ExportReadGroupSetRequest; @@ -9983,9 +10017,9 @@ impl<'a, C, A> ReadSearchCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Genomics::new(hyper::Client::new(), auth); +/// # let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10263,6 +10297,7 @@ impl<'a, C, A> ReadgroupsetExportCall<'a, C, A> where C: BorrowMut ReadgroupsetExportCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Genomics::new(hyper::Client::new(), auth); +/// # let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10508,6 +10543,7 @@ impl<'a, C, A> ReadgroupsetImportCall<'a, C, A> where C: BorrowMut ReadgroupsetImportCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Genomics::new(hyper::Client::new(), auth); +/// # let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10803,6 +10839,7 @@ impl<'a, C, A> ReadgroupsetPatchCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_genomics1 as genomics1; /// # #[test] fn egal() { @@ -10812,9 +10849,9 @@ impl<'a, C, A> ReadgroupsetPatchCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Genomics::new(hyper::Client::new(), auth); +/// # let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11056,6 +11093,7 @@ impl<'a, C, A> ReadgroupsetGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_genomics1 as genomics1; /// # #[test] fn egal() { @@ -11065,9 +11103,9 @@ impl<'a, C, A> ReadgroupsetGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Genomics::new(hyper::Client::new(), auth); +/// # let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11386,6 +11424,7 @@ impl<'a, C, A> ReadgroupsetCoveragebucketListCall<'a, C, A> where C: BorrowMut ReadgroupsetCoveragebucketListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Genomics::new(hyper::Client::new(), auth); +/// # let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11635,6 +11674,7 @@ impl<'a, C, A> ReadgroupsetDeleteCall<'a, C, A> where C: BorrowMut ReadgroupsetDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Genomics::new(hyper::Client::new(), auth); +/// # let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11881,6 +11921,7 @@ impl<'a, C, A> ReadgroupsetSearchCall<'a, C, A> where C: BorrowMut ReadgroupsetSearchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Genomics::new(hyper::Client::new(), auth); +/// # let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12182,6 +12223,7 @@ impl<'a, C, A> ReferenceBaseListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_genomics1 as genomics1; /// use genomics1::SearchReferencesRequest; @@ -12192,9 +12234,9 @@ impl<'a, C, A> ReferenceBaseListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Genomics::new(hyper::Client::new(), auth); +/// # let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12428,6 +12470,7 @@ impl<'a, C, A> ReferenceSearchCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_genomics1 as genomics1; /// # #[test] fn egal() { @@ -12437,9 +12480,9 @@ impl<'a, C, A> ReferenceSearchCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Genomics::new(hyper::Client::new(), auth); +/// # let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12676,6 +12719,7 @@ impl<'a, C, A> ReferenceGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_genomics1 as genomics1; /// use genomics1::SearchVariantsRequest; @@ -12686,9 +12730,9 @@ impl<'a, C, A> ReferenceGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Genomics::new(hyper::Client::new(), auth); +/// # let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12919,6 +12963,7 @@ impl<'a, C, A> VariantSearchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_genomics1 as genomics1; /// # #[test] fn egal() { @@ -12928,9 +12973,9 @@ impl<'a, C, A> VariantSearchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Genomics::new(hyper::Client::new(), auth); +/// # let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13164,6 +13209,7 @@ impl<'a, C, A> VariantDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_genomics1 as genomics1; /// # #[test] fn egal() { @@ -13173,9 +13219,9 @@ impl<'a, C, A> VariantDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Genomics::new(hyper::Client::new(), auth); +/// # let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13495,6 +13541,7 @@ impl<'a, C, A> VariantGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_genomics1 as genomics1; /// use genomics1::MergeVariantsRequest; @@ -13505,9 +13552,9 @@ impl<'a, C, A> VariantGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Genomics::new(hyper::Client::new(), auth); +/// # let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13738,6 +13785,7 @@ impl<'a, C, A> VariantMergeCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_genomics1 as genomics1; /// use genomics1::Variant; @@ -13748,9 +13796,9 @@ impl<'a, C, A> VariantMergeCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Genomics::new(hyper::Client::new(), auth); +/// # let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13994,6 +14042,7 @@ impl<'a, C, A> VariantCreateCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_genomics1 as genomics1; /// use genomics1::ImportVariantsRequest; @@ -14004,9 +14053,9 @@ impl<'a, C, A> VariantCreateCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Genomics::new(hyper::Client::new(), auth); +/// # let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14240,6 +14289,7 @@ impl<'a, C, A> VariantImportCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_genomics1 as genomics1; /// use genomics1::Variant; @@ -14250,9 +14300,9 @@ impl<'a, C, A> VariantImportCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Genomics::new(hyper::Client::new(), auth); +/// # let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14528,6 +14578,7 @@ impl<'a, C, A> VariantPatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_genomics1 as genomics1; /// use genomics1::Annotation; @@ -14538,9 +14589,9 @@ impl<'a, C, A> VariantPatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Genomics::new(hyper::Client::new(), auth); +/// # let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14818,6 +14869,7 @@ impl<'a, C, A> AnnotationUpdateCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_genomics1 as genomics1; /// # #[test] fn egal() { @@ -14827,9 +14879,9 @@ impl<'a, C, A> AnnotationUpdateCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Genomics::new(hyper::Client::new(), auth); +/// # let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15065,6 +15117,7 @@ impl<'a, C, A> AnnotationGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_genomics1 as genomics1; /// use genomics1::SearchAnnotationsRequest; @@ -15075,9 +15128,9 @@ impl<'a, C, A> AnnotationGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Genomics::new(hyper::Client::new(), auth); +/// # let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15305,6 +15358,7 @@ impl<'a, C, A> AnnotationSearchCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_genomics1 as genomics1; /// # #[test] fn egal() { @@ -15314,9 +15368,9 @@ impl<'a, C, A> AnnotationSearchCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Genomics::new(hyper::Client::new(), auth); +/// # let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15567,6 +15621,7 @@ impl<'a, C, A> AnnotationDeleteCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_genomics1 as genomics1; /// use genomics1::Annotation; @@ -15577,9 +15632,9 @@ impl<'a, C, A> AnnotationDeleteCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Genomics::new(hyper::Client::new(), auth); +/// # let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15819,6 +15874,7 @@ impl<'a, C, A> AnnotationCreateCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_genomics1 as genomics1; /// use genomics1::BatchCreateAnnotationsRequest; @@ -15829,9 +15885,9 @@ impl<'a, C, A> AnnotationCreateCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Genomics::new(hyper::Client::new(), auth); +/// # let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16060,6 +16116,7 @@ impl<'a, C, A> AnnotationBatchCreateCall<'a, C, A> where C: BorrowMut AnnotationBatchCreateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Genomics::new(hyper::Client::new(), auth); +/// # let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16352,6 +16409,7 @@ impl<'a, C, A> AnnotationsetUpdateCall<'a, C, A> where C: BorrowMut AnnotationsetUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Genomics::new(hyper::Client::new(), auth); +/// # let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16600,6 +16658,7 @@ impl<'a, C, A> AnnotationsetSearchCall<'a, C, A> where C: BorrowMut AnnotationsetSearchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Genomics::new(hyper::Client::new(), auth); +/// # let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16840,6 +16899,7 @@ impl<'a, C, A> AnnotationsetCreateCall<'a, C, A> where C: BorrowMut AnnotationsetCreateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Genomics::new(hyper::Client::new(), auth); +/// # let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17082,6 +17142,7 @@ impl<'a, C, A> AnnotationsetDeleteCall<'a, C, A> where C: BorrowMut AnnotationsetDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Genomics::new(hyper::Client::new(), auth); +/// # let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17331,6 +17392,7 @@ impl<'a, C, A> AnnotationsetGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_genomics1 as genomics1; /// use genomics1::VariantSet; @@ -17341,9 +17403,9 @@ impl<'a, C, A> AnnotationsetGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Genomics::new(hyper::Client::new(), auth); +/// # let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17575,6 +17637,7 @@ impl<'a, C, A> VariantsetCreateCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_genomics1 as genomics1; /// # #[test] fn egal() { @@ -17584,9 +17647,9 @@ impl<'a, C, A> VariantsetCreateCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Genomics::new(hyper::Client::new(), auth); +/// # let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17820,6 +17883,7 @@ impl<'a, C, A> VariantsetDeleteCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_genomics1 as genomics1; /// use genomics1::ExportVariantSetRequest; @@ -17830,9 +17894,9 @@ impl<'a, C, A> VariantsetDeleteCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Genomics::new(hyper::Client::new(), auth); +/// # let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18097,6 +18161,7 @@ impl<'a, C, A> VariantsetExportCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_genomics1 as genomics1; /// use genomics1::VariantSet; @@ -18107,9 +18172,9 @@ impl<'a, C, A> VariantsetExportCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Genomics::new(hyper::Client::new(), auth); +/// # let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18395,6 +18460,7 @@ impl<'a, C, A> VariantsetPatchCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_genomics1 as genomics1; /// use genomics1::SearchVariantSetsRequest; @@ -18405,9 +18471,9 @@ impl<'a, C, A> VariantsetPatchCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Genomics::new(hyper::Client::new(), auth); +/// # let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18638,6 +18704,7 @@ impl<'a, C, A> VariantsetSearchCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_genomics1 as genomics1; /// # #[test] fn egal() { @@ -18647,9 +18714,9 @@ impl<'a, C, A> VariantsetSearchCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Genomics::new(hyper::Client::new(), auth); +/// # let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/gmail1-cli/Cargo.toml b/gen/gmail1-cli/Cargo.toml index f281262a57..9855064bfa 100644 --- a/gen/gmail1-cli/Cargo.toml +++ b/gen/gmail1-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["gmail", "google", "cli"] [[bin]] name = "gmail1" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/gmail1/Cargo.toml b/gen/gmail1/Cargo.toml index 5e54a81cef..6be09ddb7e 100644 --- a/gen/gmail1/Cargo.toml +++ b/gen/gmail1/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["gmail", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/gmail1/README.md b/gen/gmail1/README.md index 51c447f133..5ab833c74d 100644 --- a/gen/gmail1/README.md +++ b/gen/gmail1/README.md @@ -86,6 +86,7 @@ google-gmail1 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_gmail1 as gmail1; use gmail1::Message; @@ -104,9 +105,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Gmail::new(hyper::Client::new(), auth); +let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! diff --git a/gen/gmail1/src/lib.rs b/gen/gmail1/src/lib.rs index d1dfc434da..3c0dc515ae 100644 --- a/gen/gmail1/src/lib.rs +++ b/gen/gmail1/src/lib.rs @@ -86,6 +86,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_gmail1 as gmail1; //! use gmail1::Message; @@ -105,9 +106,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Gmail::new(hyper::Client::new(), auth); +//! let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! @@ -311,6 +312,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_gmail1 as gmail1; /// use gmail1::Message; @@ -330,9 +332,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Gmail::new(hyper::Client::new(), auth); +/// let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1404,6 +1406,7 @@ impl Part for HistoryLabelRemoved {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_gmail1 as gmail1; /// @@ -1414,9 +1417,9 @@ impl Part for HistoryLabelRemoved {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Gmail::new(hyper::Client::new(), auth); +/// let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `drafts_create(...)`, `drafts_delete(...)`, `drafts_get(...)`, `drafts_list(...)`, `drafts_send(...)`, `drafts_update(...)`, `get_profile(...)`, `history_list(...)`, `labels_create(...)`, `labels_delete(...)`, `labels_get(...)`, `labels_list(...)`, `labels_patch(...)`, `labels_update(...)`, `messages_attachments_get(...)`, `messages_batch_delete(...)`, `messages_batch_modify(...)`, `messages_delete(...)`, `messages_get(...)`, `messages_import(...)`, `messages_insert(...)`, `messages_list(...)`, `messages_modify(...)`, `messages_send(...)`, `messages_trash(...)`, `messages_untrash(...)`, `settings_filters_create(...)`, `settings_filters_delete(...)`, `settings_filters_get(...)`, `settings_filters_list(...)`, `settings_forwarding_addresses_create(...)`, `settings_forwarding_addresses_delete(...)`, `settings_forwarding_addresses_get(...)`, `settings_forwarding_addresses_list(...)`, `settings_get_auto_forwarding(...)`, `settings_get_imap(...)`, `settings_get_pop(...)`, `settings_get_vacation(...)`, `settings_send_as_create(...)`, `settings_send_as_delete(...)`, `settings_send_as_get(...)`, `settings_send_as_list(...)`, `settings_send_as_patch(...)`, `settings_send_as_smime_info_delete(...)`, `settings_send_as_smime_info_get(...)`, `settings_send_as_smime_info_insert(...)`, `settings_send_as_smime_info_list(...)`, `settings_send_as_smime_info_set_default(...)`, `settings_send_as_update(...)`, `settings_send_as_verify(...)`, `settings_update_auto_forwarding(...)`, `settings_update_imap(...)`, `settings_update_pop(...)`, `settings_update_vacation(...)`, `stop(...)`, `threads_delete(...)`, `threads_get(...)`, `threads_list(...)`, `threads_modify(...)`, `threads_trash(...)`, `threads_untrash(...)` and `watch(...)` /// // to build up your call. @@ -2673,6 +2676,7 @@ impl<'a, C, A> UserMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gmail1 as gmail1; /// use gmail1::VacationSettings; @@ -2683,9 +2687,9 @@ impl<'a, C, A> UserMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2939,6 +2943,7 @@ impl<'a, C, A> UserSettingUpdateVacationCall<'a, C, A> where C: BorrowMut UserSettingUpdateVacationCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3198,6 +3203,7 @@ impl<'a, C, A> UserSettingSendASmimeInfoGetCall<'a, C, A> where C: BorrowMut UserSettingSendASmimeInfoGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3433,6 +3439,7 @@ impl<'a, C, A> UserSettingSendAListCall<'a, C, A> where C: BorrowMut UserSettingSendAListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3668,6 +3675,7 @@ impl<'a, C, A> UserSettingGetImapCall<'a, C, A> where C: BorrowMut UserSettingGetImapCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4096,6 +4104,7 @@ impl<'a, C, A> UserMessageImportCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gmail1 as gmail1; /// # #[test] fn egal() { @@ -4105,9 +4114,9 @@ impl<'a, C, A> UserMessageImportCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4331,6 +4340,7 @@ impl<'a, C, A> UserSettingFilterListCall<'a, C, A> where C: BorrowMut UserSettingFilterListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4578,6 +4588,7 @@ impl<'a, C, A> UserSettingForwardingAddresseGetCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gmail1 as gmail1; /// # #[test] fn egal() { @@ -4587,9 +4598,9 @@ impl<'a, C, A> UserSettingForwardingAddresseGetCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4876,6 +4887,7 @@ impl<'a, C, A> UserHistoryListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gmail1 as gmail1; /// use gmail1::Draft; @@ -4887,9 +4899,9 @@ impl<'a, C, A> UserHistoryListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5256,6 +5268,7 @@ impl<'a, C, A> UserDraftCreateCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gmail1 as gmail1; /// # #[test] fn egal() { @@ -5265,9 +5278,9 @@ impl<'a, C, A> UserDraftCreateCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5503,6 +5516,7 @@ impl<'a, C, A> UserSettingSendAGetCall<'a, C, A> where C: BorrowMut UserSettingSendAGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5739,6 +5753,7 @@ impl<'a, C, A> UserLabelDeleteCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gmail1 as gmail1; /// # #[test] fn egal() { @@ -5748,9 +5763,9 @@ impl<'a, C, A> UserLabelDeleteCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5986,6 +6001,7 @@ impl<'a, C, A> UserLabelGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gmail1 as gmail1; /// # #[test] fn egal() { @@ -5995,9 +6011,9 @@ impl<'a, C, A> UserLabelGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6221,6 +6237,7 @@ impl<'a, C, A> UserLabelListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gmail1 as gmail1; /// use gmail1::Draft; @@ -6232,9 +6249,9 @@ impl<'a, C, A> UserLabelListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6601,6 +6618,7 @@ impl<'a, C, A> UserDraftSendCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gmail1 as gmail1; /// # #[test] fn egal() { @@ -6610,9 +6628,9 @@ impl<'a, C, A> UserDraftSendCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6848,6 +6866,7 @@ impl<'a, C, A> UserMessageUntrashCall<'a, C, A> where C: BorrowMut UserMessageUntrashCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7083,6 +7102,7 @@ impl<'a, C, A> UserSettingGetPopCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gmail1 as gmail1; /// use gmail1::PopSettings; @@ -7093,9 +7113,9 @@ impl<'a, C, A> UserSettingGetPopCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7349,6 +7369,7 @@ impl<'a, C, A> UserSettingUpdatePopCall<'a, C, A> where C: BorrowMut UserSettingUpdatePopCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7584,6 +7605,7 @@ impl<'a, C, A> UserSettingGetVacationCall<'a, C, A> where C: BorrowMut UserSettingGetVacationCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7839,6 +7861,7 @@ impl<'a, C, A> UserMessageBatchDeleteCall<'a, C, A> where C: BorrowMut UserMessageBatchDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8075,6 +8098,7 @@ impl<'a, C, A> UserMessageDeleteCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gmail1 as gmail1; /// # #[test] fn egal() { @@ -8084,9 +8108,9 @@ impl<'a, C, A> UserMessageDeleteCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8334,6 +8358,7 @@ impl<'a, C, A> UserDraftGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gmail1 as gmail1; /// use gmail1::Draft; @@ -8345,9 +8370,9 @@ impl<'a, C, A> UserDraftGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8726,6 +8751,7 @@ impl<'a, C, A> UserDraftUpdateCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gmail1 as gmail1; /// # #[test] fn egal() { @@ -8735,9 +8761,9 @@ impl<'a, C, A> UserDraftUpdateCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8962,6 +8988,7 @@ impl<'a, C, A> UserSettingFilterDeleteCall<'a, C, A> where C: BorrowMut UserSettingFilterDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9260,6 +9287,7 @@ impl<'a, C, A> UserThreadListCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gmail1 as gmail1; /// # #[test] fn egal() { @@ -9269,9 +9297,9 @@ impl<'a, C, A> UserThreadListCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9507,6 +9535,7 @@ impl<'a, C, A> UserSettingFilterGetCall<'a, C, A> where C: BorrowMut UserSettingFilterGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9762,6 +9791,7 @@ impl<'a, C, A> UserMessageBatchModifyCall<'a, C, A> where C: BorrowMut UserMessageBatchModifyCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10040,6 +10070,7 @@ impl<'a, C, A> UserLabelPatchCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gmail1 as gmail1; /// use gmail1::Label; @@ -10050,9 +10081,9 @@ impl<'a, C, A> UserLabelPatchCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10318,6 +10349,7 @@ impl<'a, C, A> UserLabelUpdateCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gmail1 as gmail1; /// # #[test] fn egal() { @@ -10327,9 +10359,9 @@ impl<'a, C, A> UserLabelUpdateCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10556,6 +10588,7 @@ impl<'a, C, A> UserDraftDeleteCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gmail1 as gmail1; /// use gmail1::SendAs; @@ -10566,9 +10599,9 @@ impl<'a, C, A> UserDraftDeleteCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10824,6 +10857,7 @@ impl<'a, C, A> UserSettingSendACreateCall<'a, C, A> where C: BorrowMut UserSettingSendACreateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11090,6 +11124,7 @@ impl<'a, C, A> UserSettingUpdateAutoForwardingCall<'a, C, A> where C: BorrowMut< /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gmail1 as gmail1; /// use gmail1::Label; @@ -11100,9 +11135,9 @@ impl<'a, C, A> UserSettingUpdateAutoForwardingCall<'a, C, A> where C: BorrowMut< /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11356,6 +11391,7 @@ impl<'a, C, A> UserLabelCreateCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gmail1 as gmail1; /// # #[test] fn egal() { @@ -11365,9 +11401,9 @@ impl<'a, C, A> UserLabelCreateCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11603,6 +11639,7 @@ impl<'a, C, A> UserThreadUntrashCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gmail1 as gmail1; /// # #[test] fn egal() { @@ -11612,9 +11649,9 @@ impl<'a, C, A> UserThreadUntrashCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11852,6 +11889,7 @@ impl<'a, C, A> UserSettingSendASmimeInfoListCall<'a, C, A> where C: BorrowMut UserSettingSendASmimeInfoListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12130,6 +12168,7 @@ impl<'a, C, A> UserSettingSendAPatchCall<'a, C, A> where C: BorrowMut UserSettingSendAPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12408,6 +12447,7 @@ impl<'a, C, A> UserThreadModifyCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gmail1 as gmail1; /// # #[test] fn egal() { @@ -12417,9 +12457,9 @@ impl<'a, C, A> UserThreadModifyCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12644,6 +12684,7 @@ impl<'a, C, A> UserThreadDeleteCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gmail1 as gmail1; /// use gmail1::SmimeInfo; @@ -12654,9 +12695,9 @@ impl<'a, C, A> UserThreadDeleteCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12922,6 +12963,7 @@ impl<'a, C, A> UserSettingSendASmimeInfoInsertCall<'a, C, A> where C: BorrowMut< /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gmail1 as gmail1; /// # #[test] fn egal() { @@ -12931,9 +12973,9 @@ impl<'a, C, A> UserSettingSendASmimeInfoInsertCall<'a, C, A> where C: BorrowMut< /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13181,6 +13223,7 @@ impl<'a, C, A> UserMessageAttachmentGetCall<'a, C, A> where C: BorrowMut UserMessageAttachmentGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13459,6 +13502,7 @@ impl<'a, C, A> UserMessageModifyCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gmail1 as gmail1; /// # #[test] fn egal() { @@ -13468,9 +13512,9 @@ impl<'a, C, A> UserMessageModifyCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13733,6 +13777,7 @@ impl<'a, C, A> UserMessageGetCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gmail1 as gmail1; /// use gmail1::WatchRequest; @@ -13743,9 +13788,9 @@ impl<'a, C, A> UserMessageGetCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14001,6 +14046,7 @@ impl<'a, C, A> UserWatchCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gmail1 as gmail1; /// use gmail1::ForwardingAddress; @@ -14011,9 +14057,9 @@ impl<'a, C, A> UserWatchCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14267,6 +14313,7 @@ impl<'a, C, A> UserSettingForwardingAddresseCreateCall<'a, C, A> where C: Borrow /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gmail1 as gmail1; /// # #[test] fn egal() { @@ -14276,9 +14323,9 @@ impl<'a, C, A> UserSettingForwardingAddresseCreateCall<'a, C, A> where C: Borrow /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14550,6 +14597,7 @@ impl<'a, C, A> UserDraftListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gmail1 as gmail1; /// use gmail1::ImapSettings; @@ -14560,9 +14608,9 @@ impl<'a, C, A> UserDraftListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14816,6 +14864,7 @@ impl<'a, C, A> UserSettingUpdateImapCall<'a, C, A> where C: BorrowMut UserSettingUpdateImapCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15196,6 +15245,7 @@ impl<'a, C, A> UserMessageSendCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gmail1 as gmail1; /// # #[test] fn egal() { @@ -15205,9 +15255,9 @@ impl<'a, C, A> UserMessageSendCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15443,6 +15493,7 @@ impl<'a, C, A> UserThreadTrashCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gmail1 as gmail1; /// # #[test] fn egal() { @@ -15452,9 +15503,9 @@ impl<'a, C, A> UserThreadTrashCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15667,6 +15718,7 @@ impl<'a, C, A> UserStopCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gmail1 as gmail1; /// # #[test] fn egal() { @@ -15676,9 +15728,9 @@ impl<'a, C, A> UserStopCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15915,6 +15967,7 @@ impl<'a, C, A> UserSettingSendASmimeInfoSetDefaultCall<'a, C, A> where C: Borrow /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gmail1 as gmail1; /// # #[test] fn egal() { @@ -15924,9 +15977,9 @@ impl<'a, C, A> UserSettingSendASmimeInfoSetDefaultCall<'a, C, A> where C: Borrow /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16215,6 +16268,7 @@ impl<'a, C, A> UserMessageListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gmail1 as gmail1; /// use gmail1::SendAs; @@ -16225,9 +16279,9 @@ impl<'a, C, A> UserMessageListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16493,6 +16547,7 @@ impl<'a, C, A> UserSettingSendAUpdateCall<'a, C, A> where C: BorrowMut UserSettingSendAUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16759,6 +16814,7 @@ impl<'a, C, A> UserSettingFilterCreateCall<'a, C, A> where C: BorrowMut UserSettingFilterCreateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17007,6 +17063,7 @@ impl<'a, C, A> UserSettingSendASmimeInfoDeleteCall<'a, C, A> where C: BorrowMut< /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gmail1 as gmail1; /// # #[test] fn egal() { @@ -17016,9 +17073,9 @@ impl<'a, C, A> UserSettingSendASmimeInfoDeleteCall<'a, C, A> where C: BorrowMut< /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17254,6 +17311,7 @@ impl<'a, C, A> UserMessageTrashCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gmail1 as gmail1; /// # #[test] fn egal() { @@ -17263,9 +17321,9 @@ impl<'a, C, A> UserMessageTrashCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17489,6 +17547,7 @@ impl<'a, C, A> UserGetProfileCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gmail1 as gmail1; /// # #[test] fn egal() { @@ -17498,9 +17557,9 @@ impl<'a, C, A> UserGetProfileCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17765,6 +17824,7 @@ impl<'a, C, A> UserThreadGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gmail1 as gmail1; /// # #[test] fn egal() { @@ -17774,9 +17834,9 @@ impl<'a, C, A> UserThreadGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18001,6 +18061,7 @@ impl<'a, C, A> UserSettingSendAVerifyCall<'a, C, A> where C: BorrowMut UserSettingSendAVerifyCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18236,6 +18297,7 @@ impl<'a, C, A> UserSettingForwardingAddresseListCall<'a, C, A> where C: BorrowMu /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gmail1 as gmail1; /// use gmail1::Message; @@ -18247,9 +18309,9 @@ impl<'a, C, A> UserSettingForwardingAddresseListCall<'a, C, A> where C: BorrowMu /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18640,6 +18702,7 @@ impl<'a, C, A> UserMessageInsertCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_gmail1 as gmail1; /// # #[test] fn egal() { @@ -18649,9 +18712,9 @@ impl<'a, C, A> UserMessageInsertCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18877,6 +18940,7 @@ impl<'a, C, A> UserSettingGetAutoForwardingCall<'a, C, A> where C: BorrowMut UserSettingGetAutoForwardingCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19115,6 +19179,7 @@ impl<'a, C, A> UserSettingSendADeleteCall<'a, C, A> where C: BorrowMut UserSettingSendADeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Gmail::new(hyper::Client::new(), auth); +/// # let mut hub = Gmail::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/groupsmigration1-cli/Cargo.toml b/gen/groupsmigration1-cli/Cargo.toml index 8659c696dd..6980b2382c 100644 --- a/gen/groupsmigration1-cli/Cargo.toml +++ b/gen/groupsmigration1-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["groupsmigration", "google", "cli"] [[bin]] name = "groupsmigration1" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/groupsmigration1/Cargo.toml b/gen/groupsmigration1/Cargo.toml index c798acbbf9..e8a5ea2984 100644 --- a/gen/groupsmigration1/Cargo.toml +++ b/gen/groupsmigration1/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["groupsmigration", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/groupsmigration1/README.md b/gen/groupsmigration1/README.md index deb6078538..4382f0a1be 100644 --- a/gen/groupsmigration1/README.md +++ b/gen/groupsmigration1/README.md @@ -74,6 +74,7 @@ google-groupsmigration1 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_groupsmigration1 as groupsmigration1; use groupsmigration1::{Result, Error}; @@ -91,9 +92,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = GroupsMigration::new(hyper::Client::new(), auth); +let mut hub = GroupsMigration::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `upload(...)`. // Values shown here are possibly random and not representative ! diff --git a/gen/groupsmigration1/src/lib.rs b/gen/groupsmigration1/src/lib.rs index 21963b1b6a..e2793b8860 100644 --- a/gen/groupsmigration1/src/lib.rs +++ b/gen/groupsmigration1/src/lib.rs @@ -74,6 +74,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_groupsmigration1 as groupsmigration1; //! use groupsmigration1::{Result, Error}; @@ -92,9 +93,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = GroupsMigration::new(hyper::Client::new(), auth); +//! let mut hub = GroupsMigration::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `upload(...)`. //! // Values shown here are possibly random and not representative ! @@ -253,6 +254,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_groupsmigration1 as groupsmigration1; /// use groupsmigration1::{Result, Error}; @@ -271,9 +273,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = GroupsMigration::new(hyper::Client::new(), auth); +/// let mut hub = GroupsMigration::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `upload(...)`. /// // Values shown here are possibly random and not representative ! @@ -389,6 +391,7 @@ impl ResponseResult for Groups {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_groupsmigration1 as groupsmigration1; /// @@ -399,9 +402,9 @@ impl ResponseResult for Groups {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = GroupsMigration::new(hyper::Client::new(), auth); +/// let mut hub = GroupsMigration::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `insert(...)` /// // to build up your call. @@ -455,6 +458,7 @@ impl<'a, C, A> ArchiveMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_groupsmigration1 as groupsmigration1; /// use std::fs; @@ -465,9 +469,9 @@ impl<'a, C, A> ArchiveMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = GroupsMigration::new(hyper::Client::new(), auth); +/// # let mut hub = GroupsMigration::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `upload(...)`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/groupssettings1-cli/Cargo.toml b/gen/groupssettings1-cli/Cargo.toml index b07efb5da2..e70311d318 100644 --- a/gen/groupssettings1-cli/Cargo.toml +++ b/gen/groupssettings1-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["groupssettings", "google", "cli"] [[bin]] name = "groupssettings1" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/groupssettings1/Cargo.toml b/gen/groupssettings1/Cargo.toml index c61ee8e24e..f0b40e8070 100644 --- a/gen/groupssettings1/Cargo.toml +++ b/gen/groupssettings1/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["groupssettings", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/groupssettings1/README.md b/gen/groupssettings1/README.md index 54f2414649..c620457059 100644 --- a/gen/groupssettings1/README.md +++ b/gen/groupssettings1/README.md @@ -72,6 +72,7 @@ google-groupssettings1 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_groupssettings1 as groupssettings1; use groupssettings1::Groups; @@ -89,9 +90,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Groupssettings::new(hyper::Client::new(), auth); +let mut hub = Groupssettings::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! diff --git a/gen/groupssettings1/src/lib.rs b/gen/groupssettings1/src/lib.rs index e86dbddfb1..a96a1d1baf 100644 --- a/gen/groupssettings1/src/lib.rs +++ b/gen/groupssettings1/src/lib.rs @@ -72,6 +72,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_groupssettings1 as groupssettings1; //! use groupssettings1::Groups; @@ -90,9 +91,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Groupssettings::new(hyper::Client::new(), auth); +//! let mut hub = Groupssettings::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! @@ -256,6 +257,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_groupssettings1 as groupssettings1; /// use groupssettings1::Groups; @@ -274,9 +276,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Groupssettings::new(hyper::Client::new(), auth); +/// let mut hub = Groupssettings::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -484,6 +486,7 @@ impl ResponseResult for Groups {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_groupssettings1 as groupssettings1; /// @@ -494,9 +497,9 @@ impl ResponseResult for Groups {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Groupssettings::new(hyper::Client::new(), auth); +/// let mut hub = Groupssettings::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -588,6 +591,7 @@ impl<'a, C, A> GroupMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_groupssettings1 as groupssettings1; /// use groupssettings1::Groups; @@ -598,9 +602,9 @@ impl<'a, C, A> GroupMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Groupssettings::new(hyper::Client::new(), auth); +/// # let mut hub = Groupssettings::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -854,6 +858,7 @@ impl<'a, C, A> GroupUpdateCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_groupssettings1 as groupssettings1; /// use groupssettings1::Groups; @@ -864,9 +869,9 @@ impl<'a, C, A> GroupUpdateCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Groupssettings::new(hyper::Client::new(), auth); +/// # let mut hub = Groupssettings::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1120,6 +1125,7 @@ impl<'a, C, A> GroupPatchCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_groupssettings1 as groupssettings1; /// # #[test] fn egal() { @@ -1129,9 +1135,9 @@ impl<'a, C, A> GroupPatchCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Groupssettings::new(hyper::Client::new(), auth); +/// # let mut hub = Groupssettings::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/iam1-cli/Cargo.toml b/gen/iam1-cli/Cargo.toml index df101a1da1..f0a9ab2062 100644 --- a/gen/iam1-cli/Cargo.toml +++ b/gen/iam1-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["iam", "google", "cli"] [[bin]] name = "iam1" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/iam1/Cargo.toml b/gen/iam1/Cargo.toml index ed9eb41d3c..34d78947b5 100644 --- a/gen/iam1/Cargo.toml +++ b/gen/iam1/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["iam", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/iam1/README.md b/gen/iam1/README.md index 3e78f466e2..2980ce0ae0 100644 --- a/gen/iam1/README.md +++ b/gen/iam1/README.md @@ -74,6 +74,7 @@ google-iam1 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_iam1 as iam1; use iam1::ServiceAccount; @@ -91,9 +92,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Iam::new(hyper::Client::new(), auth); +let mut hub = Iam::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! diff --git a/gen/iam1/src/lib.rs b/gen/iam1/src/lib.rs index ab746aa129..07697d3253 100644 --- a/gen/iam1/src/lib.rs +++ b/gen/iam1/src/lib.rs @@ -74,6 +74,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_iam1 as iam1; //! use iam1::ServiceAccount; @@ -92,9 +93,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Iam::new(hyper::Client::new(), auth); +//! let mut hub = Iam::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! @@ -258,6 +259,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_iam1 as iam1; /// use iam1::ServiceAccount; @@ -276,9 +278,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Iam::new(hyper::Client::new(), auth); +/// let mut hub = Iam::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -950,6 +952,7 @@ impl RequestValue for CreateServiceAccountRequest {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_iam1 as iam1; /// @@ -960,9 +963,9 @@ impl RequestValue for CreateServiceAccountRequest {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Iam::new(hyper::Client::new(), auth); +/// let mut hub = Iam::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `query_grantable_roles(...)` /// // to build up your call. @@ -1010,6 +1013,7 @@ impl<'a, C, A> RoleMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_iam1 as iam1; /// @@ -1020,9 +1024,9 @@ impl<'a, C, A> RoleMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Iam::new(hyper::Client::new(), auth); +/// let mut hub = Iam::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `service_accounts_create(...)`, `service_accounts_delete(...)`, `service_accounts_get(...)`, `service_accounts_get_iam_policy(...)`, `service_accounts_keys_create(...)`, `service_accounts_keys_delete(...)`, `service_accounts_keys_get(...)`, `service_accounts_keys_list(...)`, `service_accounts_list(...)`, `service_accounts_set_iam_policy(...)`, `service_accounts_sign_blob(...)`, `service_accounts_sign_jwt(...)`, `service_accounts_test_iam_permissions(...)` and `service_accounts_update(...)` /// // to build up your call. @@ -1374,6 +1378,7 @@ impl<'a, C, A> ProjectMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_iam1 as iam1; /// use iam1::QueryGrantableRolesRequest; @@ -1384,9 +1389,9 @@ impl<'a, C, A> ProjectMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Iam::new(hyper::Client::new(), auth); +/// # let mut hub = Iam::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1613,6 +1618,7 @@ impl<'a, C, A> RoleQueryGrantableRoleCall<'a, C, A> where C: BorrowMut RoleQueryGrantableRoleCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Iam::new(hyper::Client::new(), auth); +/// # let mut hub = Iam::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1881,6 +1887,7 @@ impl<'a, C, A> ProjectServiceAccountKeyListCall<'a, C, A> where C: BorrowMut ProjectServiceAccountKeyListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Iam::new(hyper::Client::new(), auth); +/// # let mut hub = Iam::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2158,6 +2165,7 @@ impl<'a, C, A> ProjectServiceAccountSetIamPolicyCall<'a, C, A> where C: BorrowMu /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_iam1 as iam1; /// # #[test] fn egal() { @@ -2167,9 +2175,9 @@ impl<'a, C, A> ProjectServiceAccountSetIamPolicyCall<'a, C, A> where C: BorrowMu /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Iam::new(hyper::Client::new(), auth); +/// # let mut hub = Iam::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2408,6 +2416,7 @@ impl<'a, C, A> ProjectServiceAccountKeyDeleteCall<'a, C, A> where C: BorrowMut ProjectServiceAccountKeyDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Iam::new(hyper::Client::new(), auth); +/// # let mut hub = Iam::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2688,6 +2697,7 @@ impl<'a, C, A> ProjectServiceAccountKeyCreateCall<'a, C, A> where C: BorrowMut ProjectServiceAccountKeyCreateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Iam::new(hyper::Client::new(), auth); +/// # let mut hub = Iam::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2972,6 +2982,7 @@ impl<'a, C, A> ProjectServiceAccountSignBlobCall<'a, C, A> where C: BorrowMut ProjectServiceAccountSignBlobCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Iam::new(hyper::Client::new(), auth); +/// # let mut hub = Iam::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3256,6 +3267,7 @@ impl<'a, C, A> ProjectServiceAccountUpdateCall<'a, C, A> where C: BorrowMut ProjectServiceAccountUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Iam::new(hyper::Client::new(), auth); +/// # let mut hub = Iam::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3530,6 +3542,7 @@ impl<'a, C, A> ProjectServiceAccountListCall<'a, C, A> where C: BorrowMut ProjectServiceAccountListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Iam::new(hyper::Client::new(), auth); +/// # let mut hub = Iam::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3780,6 +3793,7 @@ impl<'a, C, A> ProjectServiceAccountDeleteCall<'a, C, A> where C: BorrowMut ProjectServiceAccountDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Iam::new(hyper::Client::new(), auth); +/// # let mut hub = Iam::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4044,6 +4058,7 @@ impl<'a, C, A> ProjectServiceAccountKeyGetCall<'a, C, A> where C: BorrowMut ProjectServiceAccountKeyGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Iam::new(hyper::Client::new(), auth); +/// # let mut hub = Iam::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4291,6 +4306,7 @@ impl<'a, C, A> ProjectServiceAccountGetIamPolicyCall<'a, C, A> where C: BorrowMu /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_iam1 as iam1; /// use iam1::TestIamPermissionsRequest; @@ -4301,9 +4317,9 @@ impl<'a, C, A> ProjectServiceAccountGetIamPolicyCall<'a, C, A> where C: BorrowMu /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Iam::new(hyper::Client::new(), auth); +/// # let mut hub = Iam::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4569,6 +4585,7 @@ impl<'a, C, A> ProjectServiceAccountTestIamPermissionCall<'a, C, A> where C: Bor /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_iam1 as iam1; /// use iam1::CreateServiceAccountRequest; @@ -4579,9 +4596,9 @@ impl<'a, C, A> ProjectServiceAccountTestIamPermissionCall<'a, C, A> where C: Bor /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Iam::new(hyper::Client::new(), auth); +/// # let mut hub = Iam::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4850,6 +4867,7 @@ impl<'a, C, A> ProjectServiceAccountCreateCall<'a, C, A> where C: BorrowMut ProjectServiceAccountCreateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Iam::new(hyper::Client::new(), auth); +/// # let mut hub = Iam::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5130,6 +5148,7 @@ impl<'a, C, A> ProjectServiceAccountSignJwtCall<'a, C, A> where C: BorrowMut ProjectServiceAccountSignJwtCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Iam::new(hyper::Client::new(), auth); +/// # let mut hub = Iam::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/identitytoolkit3-cli/Cargo.toml b/gen/identitytoolkit3-cli/Cargo.toml index 298ef182e0..5630934a95 100644 --- a/gen/identitytoolkit3-cli/Cargo.toml +++ b/gen/identitytoolkit3-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["identitytoolkit", "google", "cli"] [[bin]] name = "identitytoolkit3" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/identitytoolkit3/Cargo.toml b/gen/identitytoolkit3/Cargo.toml index 78e7ec1f9d..c869accf19 100644 --- a/gen/identitytoolkit3/Cargo.toml +++ b/gen/identitytoolkit3/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["identitytoolkit", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/identitytoolkit3/README.md b/gen/identitytoolkit3/README.md index e6b1d1b4a7..80234d6b4f 100644 --- a/gen/identitytoolkit3/README.md +++ b/gen/identitytoolkit3/README.md @@ -70,6 +70,7 @@ google-identitytoolkit3 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_identitytoolkit3 as identitytoolkit3; use identitytoolkit3::IdentitytoolkitRelyingpartyVerifyAssertionRequest; @@ -87,9 +88,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = IdentityToolkit::new(hyper::Client::new(), auth); +let mut hub = IdentityToolkit::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! diff --git a/gen/identitytoolkit3/src/lib.rs b/gen/identitytoolkit3/src/lib.rs index d2f536e4d4..ed8b9d9432 100644 --- a/gen/identitytoolkit3/src/lib.rs +++ b/gen/identitytoolkit3/src/lib.rs @@ -70,6 +70,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_identitytoolkit3 as identitytoolkit3; //! use identitytoolkit3::IdentitytoolkitRelyingpartyVerifyAssertionRequest; @@ -88,9 +89,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = IdentityToolkit::new(hyper::Client::new(), auth); +//! let mut hub = IdentityToolkit::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! @@ -258,6 +259,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_identitytoolkit3 as identitytoolkit3; /// use identitytoolkit3::IdentitytoolkitRelyingpartyVerifyAssertionRequest; @@ -276,9 +278,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = IdentityToolkit::new(hyper::Client::new(), auth); +/// let mut hub = IdentityToolkit::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1726,6 +1728,7 @@ impl ResponseResult for DeleteAccountResponse {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_identitytoolkit3 as identitytoolkit3; /// @@ -1736,9 +1739,9 @@ impl ResponseResult for DeleteAccountResponse {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = IdentityToolkit::new(hyper::Client::new(), auth); +/// let mut hub = IdentityToolkit::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create_auth_uri(...)`, `delete_account(...)`, `download_account(...)`, `get_account_info(...)`, `get_oob_confirmation_code(...)`, `get_project_config(...)`, `get_public_keys(...)`, `get_recaptcha_param(...)`, `reset_password(...)`, `set_account_info(...)`, `set_project_config(...)`, `sign_out_user(...)`, `signup_new_user(...)`, `upload_account(...)`, `verify_assertion(...)`, `verify_custom_token(...)` and `verify_password(...)` /// // to build up your call. @@ -2051,6 +2054,7 @@ impl<'a, C, A> RelyingpartyMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_identitytoolkit3 as identitytoolkit3; /// use identitytoolkit3::Relyingparty; @@ -2061,9 +2065,9 @@ impl<'a, C, A> RelyingpartyMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = IdentityToolkit::new(hyper::Client::new(), auth); +/// # let mut hub = IdentityToolkit::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2284,6 +2288,7 @@ impl<'a, C, A> RelyingpartyGetOobConfirmationCodeCall<'a, C, A> where C: BorrowM /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_identitytoolkit3 as identitytoolkit3; /// use identitytoolkit3::IdentitytoolkitRelyingpartySignupNewUserRequest; @@ -2294,9 +2299,9 @@ impl<'a, C, A> RelyingpartyGetOobConfirmationCodeCall<'a, C, A> where C: BorrowM /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = IdentityToolkit::new(hyper::Client::new(), auth); +/// # let mut hub = IdentityToolkit::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2517,6 +2522,7 @@ impl<'a, C, A> RelyingpartySignupNewUserCall<'a, C, A> where C: BorrowMut RelyingpartySignupNewUserCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = IdentityToolkit::new(hyper::Client::new(), auth); +/// # let mut hub = IdentityToolkit::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2750,6 +2756,7 @@ impl<'a, C, A> RelyingpartyCreateAuthUriCall<'a, C, A> where C: BorrowMut RelyingpartyCreateAuthUriCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = IdentityToolkit::new(hyper::Client::new(), auth); +/// # let mut hub = IdentityToolkit::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2983,6 +2990,7 @@ impl<'a, C, A> RelyingpartySignOutUserCall<'a, C, A> where C: BorrowMut RelyingpartySignOutUserCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = IdentityToolkit::new(hyper::Client::new(), auth); +/// # let mut hub = IdentityToolkit::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3216,6 +3224,7 @@ impl<'a, C, A> RelyingpartyVerifyAssertionCall<'a, C, A> where C: BorrowMut RelyingpartyVerifyAssertionCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = IdentityToolkit::new(hyper::Client::new(), auth); +/// # let mut hub = IdentityToolkit::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3449,6 +3458,7 @@ impl<'a, C, A> RelyingpartyUploadAccountCall<'a, C, A> where C: BorrowMut RelyingpartyUploadAccountCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = IdentityToolkit::new(hyper::Client::new(), auth); +/// # let mut hub = IdentityToolkit::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3682,6 +3692,7 @@ impl<'a, C, A> RelyingpartyGetAccountInfoCall<'a, C, A> where C: BorrowMut RelyingpartyGetAccountInfoCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = IdentityToolkit::new(hyper::Client::new(), auth); +/// # let mut hub = IdentityToolkit::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3915,6 +3926,7 @@ impl<'a, C, A> RelyingpartyVerifyCustomTokenCall<'a, C, A> where C: BorrowMut RelyingpartyVerifyCustomTokenCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = IdentityToolkit::new(hyper::Client::new(), auth); +/// # let mut hub = IdentityToolkit::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4148,6 +4160,7 @@ impl<'a, C, A> RelyingpartyResetPasswordCall<'a, C, A> where C: BorrowMut RelyingpartyResetPasswordCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = IdentityToolkit::new(hyper::Client::new(), auth); +/// # let mut hub = IdentityToolkit::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4381,6 +4394,7 @@ impl<'a, C, A> RelyingpartyDownloadAccountCall<'a, C, A> where C: BorrowMut RelyingpartyDownloadAccountCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = IdentityToolkit::new(hyper::Client::new(), auth); +/// # let mut hub = IdentityToolkit::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4614,6 +4628,7 @@ impl<'a, C, A> RelyingpartySetAccountInfoCall<'a, C, A> where C: BorrowMut RelyingpartySetAccountInfoCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = IdentityToolkit::new(hyper::Client::new(), auth); +/// # let mut hub = IdentityToolkit::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4847,6 +4862,7 @@ impl<'a, C, A> RelyingpartyDeleteAccountCall<'a, C, A> where C: BorrowMut RelyingpartyDeleteAccountCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = IdentityToolkit::new(hyper::Client::new(), auth); +/// # let mut hub = IdentityToolkit::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5049,6 +5065,7 @@ impl<'a, C, A> RelyingpartyGetPublicKeyCall<'a, C, A> where C: BorrowMut RelyingpartyGetPublicKeyCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = IdentityToolkit::new(hyper::Client::new(), auth); +/// # let mut hub = IdentityToolkit::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5251,6 +5268,7 @@ impl<'a, C, A> RelyingpartyGetRecaptchaParamCall<'a, C, A> where C: BorrowMut RelyingpartyGetRecaptchaParamCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = IdentityToolkit::new(hyper::Client::new(), auth); +/// # let mut hub = IdentityToolkit::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5484,6 +5502,7 @@ impl<'a, C, A> RelyingpartyVerifyPasswordCall<'a, C, A> where C: BorrowMut RelyingpartyVerifyPasswordCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = IdentityToolkit::new(hyper::Client::new(), auth); +/// # let mut hub = IdentityToolkit::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5717,6 +5736,7 @@ impl<'a, C, A> RelyingpartySetProjectConfigCall<'a, C, A> where C: BorrowMut RelyingpartySetProjectConfigCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = IdentityToolkit::new(hyper::Client::new(), auth); +/// # let mut hub = IdentityToolkit::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/kgsearch1-cli/Cargo.toml b/gen/kgsearch1-cli/Cargo.toml index 367c39315e..1868f63be1 100644 --- a/gen/kgsearch1-cli/Cargo.toml +++ b/gen/kgsearch1-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["kgsearch", "google", "cli"] [[bin]] name = "kgsearch1" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/kgsearch1/Cargo.toml b/gen/kgsearch1/Cargo.toml index b4ae8338d2..e88ec98314 100644 --- a/gen/kgsearch1/Cargo.toml +++ b/gen/kgsearch1/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["kgsearch", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/kgsearch1/README.md b/gen/kgsearch1/README.md index aa66cf4b12..d017e0f306 100644 --- a/gen/kgsearch1/README.md +++ b/gen/kgsearch1/README.md @@ -70,6 +70,7 @@ google-kgsearch1 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_kgsearch1 as kgsearch1; use kgsearch1::{Result, Error}; @@ -86,9 +87,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Kgsearch::new(hyper::Client::new(), auth); +let mut hub = Kgsearch::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! diff --git a/gen/kgsearch1/src/lib.rs b/gen/kgsearch1/src/lib.rs index cb6f97d2f8..8c8407c5db 100644 --- a/gen/kgsearch1/src/lib.rs +++ b/gen/kgsearch1/src/lib.rs @@ -70,6 +70,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_kgsearch1 as kgsearch1; //! use kgsearch1::{Result, Error}; @@ -87,9 +88,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Kgsearch::new(hyper::Client::new(), auth); +//! let mut hub = Kgsearch::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! @@ -233,6 +234,7 @@ pub use cmn::{MultiPartReader, ToParts, MethodInfo, Result, Error, CallBuilder, /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_kgsearch1 as kgsearch1; /// use kgsearch1::{Result, Error}; @@ -250,9 +252,9 @@ pub use cmn::{MultiPartReader, ToParts, MethodInfo, Result, Error, CallBuilder, /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Kgsearch::new(hyper::Client::new(), auth); +/// let mut hub = Kgsearch::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -379,6 +381,7 @@ impl ResponseResult for SearchResponse {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_kgsearch1 as kgsearch1; /// @@ -389,9 +392,9 @@ impl ResponseResult for SearchResponse {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Kgsearch::new(hyper::Client::new(), auth); +/// let mut hub = Kgsearch::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `search(...)` /// // to build up your call. @@ -450,6 +453,7 @@ impl<'a, C, A> EntityMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_kgsearch1 as kgsearch1; /// # #[test] fn egal() { @@ -459,9 +463,9 @@ impl<'a, C, A> EntityMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Kgsearch::new(hyper::Client::new(), auth); +/// # let mut hub = Kgsearch::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/licensing1-cli/Cargo.toml b/gen/licensing1-cli/Cargo.toml index f513274530..4affc9c5f3 100644 --- a/gen/licensing1-cli/Cargo.toml +++ b/gen/licensing1-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["licensing", "google", "cli"] [[bin]] name = "licensing1" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/licensing1/Cargo.toml b/gen/licensing1/Cargo.toml index 52438c08a3..7c99460872 100644 --- a/gen/licensing1/Cargo.toml +++ b/gen/licensing1/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["licensing", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/licensing1/README.md b/gen/licensing1/README.md index 314ee4c498..69d5c749d4 100644 --- a/gen/licensing1/README.md +++ b/gen/licensing1/README.md @@ -76,6 +76,7 @@ google-licensing1 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_licensing1 as licensing1; use licensing1::{Result, Error}; @@ -92,9 +93,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Licensing::new(hyper::Client::new(), auth); +let mut hub = Licensing::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! diff --git a/gen/licensing1/src/lib.rs b/gen/licensing1/src/lib.rs index 3270b8d503..868fa14d51 100644 --- a/gen/licensing1/src/lib.rs +++ b/gen/licensing1/src/lib.rs @@ -76,6 +76,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_licensing1 as licensing1; //! use licensing1::{Result, Error}; @@ -93,9 +94,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Licensing::new(hyper::Client::new(), auth); +//! let mut hub = Licensing::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! @@ -256,6 +257,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_licensing1 as licensing1; /// use licensing1::{Result, Error}; @@ -273,9 +275,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Licensing::new(hyper::Client::new(), auth); +/// let mut hub = Licensing::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -463,6 +465,7 @@ impl ResponseResult for LicenseAssignmentList {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_licensing1 as licensing1; /// @@ -473,9 +476,9 @@ impl ResponseResult for LicenseAssignmentList {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Licensing::new(hyper::Client::new(), auth); +/// let mut hub = Licensing::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list_for_product(...)`, `list_for_product_and_sku(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -665,6 +668,7 @@ impl<'a, C, A> LicenseAssignmentMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_licensing1 as licensing1; /// # #[test] fn egal() { @@ -674,9 +678,9 @@ impl<'a, C, A> LicenseAssignmentMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Licensing::new(hyper::Client::new(), auth); +/// # let mut hub = Licensing::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -913,6 +917,7 @@ impl<'a, C, A> LicenseAssignmentDeleteCall<'a, C, A> where C: BorrowMut LicenseAssignmentDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Licensing::new(hyper::Client::new(), auth); +/// # let mut hub = Licensing::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1184,6 +1189,7 @@ impl<'a, C, A> LicenseAssignmentListForProductCall<'a, C, A> where C: BorrowMut< /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_licensing1 as licensing1; /// # #[test] fn egal() { @@ -1193,9 +1199,9 @@ impl<'a, C, A> LicenseAssignmentListForProductCall<'a, C, A> where C: BorrowMut< /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Licensing::new(hyper::Client::new(), auth); +/// # let mut hub = Licensing::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1443,6 +1449,7 @@ impl<'a, C, A> LicenseAssignmentGetCall<'a, C, A> where C: BorrowMut LicenseAssignmentGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Licensing::new(hyper::Client::new(), auth); +/// # let mut hub = Licensing::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1726,6 +1733,7 @@ impl<'a, C, A> LicenseAssignmentListForProductAndSkuCall<'a, C, A> where C: Borr /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_licensing1 as licensing1; /// use licensing1::LicenseAssignment; @@ -1736,9 +1744,9 @@ impl<'a, C, A> LicenseAssignmentListForProductAndSkuCall<'a, C, A> where C: Borr /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Licensing::new(hyper::Client::new(), auth); +/// # let mut hub = Licensing::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2016,6 +2024,7 @@ impl<'a, C, A> LicenseAssignmentUpdateCall<'a, C, A> where C: BorrowMut LicenseAssignmentUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Licensing::new(hyper::Client::new(), auth); +/// # let mut hub = Licensing::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2306,6 +2315,7 @@ impl<'a, C, A> LicenseAssignmentPatchCall<'a, C, A> where C: BorrowMut LicenseAssignmentPatchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Licensing::new(hyper::Client::new(), auth); +/// # let mut hub = Licensing::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/logging2-cli/Cargo.toml b/gen/logging2-cli/Cargo.toml index a7ec0eee56..50dc5ff2d5 100644 --- a/gen/logging2-cli/Cargo.toml +++ b/gen/logging2-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["logging", "google", "cli"] [[bin]] name = "logging2" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/logging2/Cargo.toml b/gen/logging2/Cargo.toml index bcb253dd01..1f8b0304a8 100644 --- a/gen/logging2/Cargo.toml +++ b/gen/logging2/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["logging", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/logging2/README.md b/gen/logging2/README.md index 117be83d9e..c8085547a8 100644 --- a/gen/logging2/README.md +++ b/gen/logging2/README.md @@ -91,6 +91,7 @@ google-logging2 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_logging2 as logging2; use logging2::LogSink; @@ -108,9 +109,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Logging::new(hyper::Client::new(), auth); +let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! diff --git a/gen/logging2/src/lib.rs b/gen/logging2/src/lib.rs index 04442ad467..b2123042bc 100644 --- a/gen/logging2/src/lib.rs +++ b/gen/logging2/src/lib.rs @@ -91,6 +91,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_logging2 as logging2; //! use logging2::LogSink; @@ -109,9 +110,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Logging::new(hyper::Client::new(), auth); +//! let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! @@ -292,6 +293,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_logging2 as logging2; /// use logging2::LogSink; @@ -310,9 +312,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Logging::new(hyper::Client::new(), auth); +/// let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -949,6 +951,7 @@ impl Resource for MonitoredResourceDescriptor {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_logging2 as logging2; /// @@ -959,9 +962,9 @@ impl Resource for MonitoredResourceDescriptor {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Logging::new(hyper::Client::new(), auth); +/// let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `logs_delete(...)`, `logs_list(...)`, `sinks_create(...)`, `sinks_delete(...)`, `sinks_get(...)`, `sinks_list(...)` and `sinks_update(...)` /// // to build up your call. @@ -1154,6 +1157,7 @@ impl<'a, C, A> FolderMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_logging2 as logging2; /// @@ -1164,9 +1168,9 @@ impl<'a, C, A> FolderMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Logging::new(hyper::Client::new(), auth); +/// let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `logs_delete(...)`, `logs_list(...)`, `sinks_create(...)`, `sinks_delete(...)`, `sinks_get(...)`, `sinks_list(...)` and `sinks_update(...)` /// // to build up your call. @@ -1359,6 +1363,7 @@ impl<'a, C, A> OrganizationMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_logging2 as logging2; /// @@ -1369,9 +1374,9 @@ impl<'a, C, A> OrganizationMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Logging::new(hyper::Client::new(), auth); +/// let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` and `write(...)` /// // to build up your call. @@ -1434,6 +1439,7 @@ impl<'a, C, A> EntryMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_logging2 as logging2; /// @@ -1444,9 +1450,9 @@ impl<'a, C, A> EntryMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Logging::new(hyper::Client::new(), auth); +/// let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `logs_delete(...)`, `logs_list(...)`, `sinks_create(...)`, `sinks_delete(...)`, `sinks_get(...)`, `sinks_list(...)` and `sinks_update(...)` /// // to build up your call. @@ -1639,6 +1645,7 @@ impl<'a, C, A> BillingAccountMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_logging2 as logging2; /// @@ -1649,9 +1656,9 @@ impl<'a, C, A> BillingAccountMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Logging::new(hyper::Client::new(), auth); +/// let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -1694,6 +1701,7 @@ impl<'a, C, A> MonitoredResourceDescriptorMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_logging2 as logging2; /// @@ -1704,9 +1712,9 @@ impl<'a, C, A> MonitoredResourceDescriptorMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Logging::new(hyper::Client::new(), auth); +/// let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `logs_delete(...)`, `logs_list(...)`, `metrics_create(...)`, `metrics_delete(...)`, `metrics_get(...)`, `metrics_list(...)`, `metrics_update(...)`, `sinks_create(...)`, `sinks_delete(...)`, `sinks_get(...)`, `sinks_list(...)` and `sinks_update(...)` /// // to build up your call. @@ -2008,6 +2016,7 @@ impl<'a, C, A> ProjectMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_logging2 as logging2; /// # #[test] fn egal() { @@ -2017,9 +2026,9 @@ impl<'a, C, A> ProjectMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Logging::new(hyper::Client::new(), auth); +/// # let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2282,6 +2291,7 @@ impl<'a, C, A> FolderSinkListCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_logging2 as logging2; /// use logging2::LogSink; @@ -2292,9 +2302,9 @@ impl<'a, C, A> FolderSinkListCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Logging::new(hyper::Client::new(), auth); +/// # let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2578,6 +2588,7 @@ impl<'a, C, A> FolderSinkUpdateCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_logging2 as logging2; /// # #[test] fn egal() { @@ -2587,9 +2598,9 @@ impl<'a, C, A> FolderSinkUpdateCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Logging::new(hyper::Client::new(), auth); +/// # let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2828,6 +2839,7 @@ impl<'a, C, A> FolderSinkGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_logging2 as logging2; /// use logging2::LogSink; @@ -2838,9 +2850,9 @@ impl<'a, C, A> FolderSinkGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Logging::new(hyper::Client::new(), auth); +/// # let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3121,6 +3133,7 @@ impl<'a, C, A> FolderSinkCreateCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_logging2 as logging2; /// # #[test] fn egal() { @@ -3130,9 +3143,9 @@ impl<'a, C, A> FolderSinkCreateCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Logging::new(hyper::Client::new(), auth); +/// # let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3371,6 +3384,7 @@ impl<'a, C, A> FolderSinkDeleteCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_logging2 as logging2; /// # #[test] fn egal() { @@ -3380,9 +3394,9 @@ impl<'a, C, A> FolderSinkDeleteCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Logging::new(hyper::Client::new(), auth); +/// # let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3645,6 +3659,7 @@ impl<'a, C, A> FolderLogListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_logging2 as logging2; /// # #[test] fn egal() { @@ -3654,9 +3669,9 @@ impl<'a, C, A> FolderLogListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Logging::new(hyper::Client::new(), auth); +/// # let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3895,6 +3910,7 @@ impl<'a, C, A> FolderLogDeleteCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_logging2 as logging2; /// # #[test] fn egal() { @@ -3904,9 +3920,9 @@ impl<'a, C, A> FolderLogDeleteCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Logging::new(hyper::Client::new(), auth); +/// # let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4169,6 +4185,7 @@ impl<'a, C, A> OrganizationLogListCall<'a, C, A> where C: BorrowMut OrganizationLogListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Logging::new(hyper::Client::new(), auth); +/// # let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4419,6 +4436,7 @@ impl<'a, C, A> OrganizationLogDeleteCall<'a, C, A> where C: BorrowMut OrganizationLogDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Logging::new(hyper::Client::new(), auth); +/// # let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4715,6 +4733,7 @@ impl<'a, C, A> OrganizationSinkUpdateCall<'a, C, A> where C: BorrowMut OrganizationSinkUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Logging::new(hyper::Client::new(), auth); +/// # let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4965,6 +4984,7 @@ impl<'a, C, A> OrganizationSinkGetCall<'a, C, A> where C: BorrowMut OrganizationSinkGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Logging::new(hyper::Client::new(), auth); +/// # let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5239,6 +5259,7 @@ impl<'a, C, A> OrganizationSinkListCall<'a, C, A> where C: BorrowMut OrganizationSinkListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Logging::new(hyper::Client::new(), auth); +/// # let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5489,6 +5510,7 @@ impl<'a, C, A> OrganizationSinkDeleteCall<'a, C, A> where C: BorrowMut OrganizationSinkDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Logging::new(hyper::Client::new(), auth); +/// # let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5782,6 +5804,7 @@ impl<'a, C, A> OrganizationSinkCreateCall<'a, C, A> where C: BorrowMut OrganizationSinkCreateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Logging::new(hyper::Client::new(), auth); +/// # let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6021,6 +6044,7 @@ impl<'a, C, A> EntryWriteCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_logging2 as logging2; /// use logging2::ListLogEntriesRequest; @@ -6031,9 +6055,9 @@ impl<'a, C, A> EntryWriteCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Logging::new(hyper::Client::new(), auth); +/// # let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6260,6 +6284,7 @@ impl<'a, C, A> EntryListCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_logging2 as logging2; /// use logging2::LogSink; @@ -6270,9 +6295,9 @@ impl<'a, C, A> EntryListCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Logging::new(hyper::Client::new(), auth); +/// # let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6553,6 +6578,7 @@ impl<'a, C, A> BillingAccountSinkCreateCall<'a, C, A> where C: BorrowMut BillingAccountSinkCreateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Logging::new(hyper::Client::new(), auth); +/// # let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6827,6 +6853,7 @@ impl<'a, C, A> BillingAccountLogListCall<'a, C, A> where C: BorrowMut BillingAccountLogListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Logging::new(hyper::Client::new(), auth); +/// # let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7101,6 +7128,7 @@ impl<'a, C, A> BillingAccountSinkListCall<'a, C, A> where C: BorrowMut BillingAccountSinkListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Logging::new(hyper::Client::new(), auth); +/// # let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7351,6 +7379,7 @@ impl<'a, C, A> BillingAccountSinkDeleteCall<'a, C, A> where C: BorrowMut BillingAccountSinkDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Logging::new(hyper::Client::new(), auth); +/// # let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7601,6 +7630,7 @@ impl<'a, C, A> BillingAccountSinkGetCall<'a, C, A> where C: BorrowMut BillingAccountSinkGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Logging::new(hyper::Client::new(), auth); +/// # let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7897,6 +7927,7 @@ impl<'a, C, A> BillingAccountSinkUpdateCall<'a, C, A> where C: BorrowMut BillingAccountSinkUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Logging::new(hyper::Client::new(), auth); +/// # let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8147,6 +8178,7 @@ impl<'a, C, A> BillingAccountLogDeleteCall<'a, C, A> where C: BorrowMut BillingAccountLogDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Logging::new(hyper::Client::new(), auth); +/// # let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8379,6 +8411,7 @@ impl<'a, C, A> MonitoredResourceDescriptorListCall<'a, C, A> where C: BorrowMut< /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_logging2 as logging2; /// # #[test] fn egal() { @@ -8388,9 +8421,9 @@ impl<'a, C, A> MonitoredResourceDescriptorListCall<'a, C, A> where C: BorrowMut< /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Logging::new(hyper::Client::new(), auth); +/// # let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8629,6 +8662,7 @@ impl<'a, C, A> ProjectLogDeleteCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_logging2 as logging2; /// # #[test] fn egal() { @@ -8638,9 +8672,9 @@ impl<'a, C, A> ProjectLogDeleteCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Logging::new(hyper::Client::new(), auth); +/// # let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8876,6 +8910,7 @@ impl<'a, C, A> ProjectMetricGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_logging2 as logging2; /// # #[test] fn egal() { @@ -8885,9 +8920,9 @@ impl<'a, C, A> ProjectMetricGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Logging::new(hyper::Client::new(), auth); +/// # let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9150,6 +9185,7 @@ impl<'a, C, A> ProjectLogListCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_logging2 as logging2; /// use logging2::LogMetric; @@ -9160,9 +9196,9 @@ impl<'a, C, A> ProjectLogListCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Logging::new(hyper::Client::new(), auth); +/// # let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9428,6 +9464,7 @@ impl<'a, C, A> ProjectMetricCreateCall<'a, C, A> where C: BorrowMut ProjectMetricCreateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Logging::new(hyper::Client::new(), auth); +/// # let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9699,6 +9736,7 @@ impl<'a, C, A> ProjectMetricListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_logging2 as logging2; /// use logging2::LogSink; @@ -9709,9 +9747,9 @@ impl<'a, C, A> ProjectMetricListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Logging::new(hyper::Client::new(), auth); +/// # let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9995,6 +10033,7 @@ impl<'a, C, A> ProjectSinkUpdateCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_logging2 as logging2; /// # #[test] fn egal() { @@ -10004,9 +10043,9 @@ impl<'a, C, A> ProjectSinkUpdateCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Logging::new(hyper::Client::new(), auth); +/// # let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10269,6 +10308,7 @@ impl<'a, C, A> ProjectSinkListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_logging2 as logging2; /// # #[test] fn egal() { @@ -10278,9 +10318,9 @@ impl<'a, C, A> ProjectSinkListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Logging::new(hyper::Client::new(), auth); +/// # let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10519,6 +10559,7 @@ impl<'a, C, A> ProjectSinkGetCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_logging2 as logging2; /// # #[test] fn egal() { @@ -10528,9 +10569,9 @@ impl<'a, C, A> ProjectSinkGetCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Logging::new(hyper::Client::new(), auth); +/// # let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10769,6 +10810,7 @@ impl<'a, C, A> ProjectSinkDeleteCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_logging2 as logging2; /// use logging2::LogSink; @@ -10779,9 +10821,9 @@ impl<'a, C, A> ProjectSinkDeleteCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Logging::new(hyper::Client::new(), auth); +/// # let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11062,6 +11104,7 @@ impl<'a, C, A> ProjectSinkCreateCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_logging2 as logging2; /// use logging2::LogMetric; @@ -11072,9 +11115,9 @@ impl<'a, C, A> ProjectSinkCreateCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Logging::new(hyper::Client::new(), auth); +/// # let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11340,6 +11383,7 @@ impl<'a, C, A> ProjectMetricUpdateCall<'a, C, A> where C: BorrowMut ProjectMetricUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Logging::new(hyper::Client::new(), auth); +/// # let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/logging2_beta1-cli/Cargo.toml b/gen/logging2_beta1-cli/Cargo.toml index 047e3fa7e4..93389e49d4 100644 --- a/gen/logging2_beta1-cli/Cargo.toml +++ b/gen/logging2_beta1-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["logging", "google", "cli"] [[bin]] name = "logging2-beta1" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/logging2_beta1/Cargo.toml b/gen/logging2_beta1/Cargo.toml index 242e4286a1..f13f42e79b 100644 --- a/gen/logging2_beta1/Cargo.toml +++ b/gen/logging2_beta1/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["logging", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/logging2_beta1/README.md b/gen/logging2_beta1/README.md index e724a7924d..2f9c0e4fd5 100644 --- a/gen/logging2_beta1/README.md +++ b/gen/logging2_beta1/README.md @@ -82,6 +82,7 @@ google-logging2_beta1 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_logging2_beta1 as logging2_beta1; use logging2_beta1::{Result, Error}; @@ -98,9 +99,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Logging::new(hyper::Client::new(), auth); +let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! diff --git a/gen/logging2_beta1/src/lib.rs b/gen/logging2_beta1/src/lib.rs index 16546add1a..ea5105665a 100644 --- a/gen/logging2_beta1/src/lib.rs +++ b/gen/logging2_beta1/src/lib.rs @@ -82,6 +82,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_logging2_beta1 as logging2_beta1; //! use logging2_beta1::{Result, Error}; @@ -99,9 +100,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Logging::new(hyper::Client::new(), auth); +//! let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! @@ -276,6 +277,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_logging2_beta1 as logging2_beta1; /// use logging2_beta1::{Result, Error}; @@ -293,9 +295,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Logging::new(hyper::Client::new(), auth); +/// let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -906,6 +908,7 @@ impl Resource for MonitoredResourceDescriptor {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_logging2_beta1 as logging2_beta1; /// @@ -916,9 +919,9 @@ impl Resource for MonitoredResourceDescriptor {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Logging::new(hyper::Client::new(), auth); +/// let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `logs_delete(...)` and `logs_list(...)` /// // to build up your call. @@ -993,6 +996,7 @@ impl<'a, C, A> OrganizationMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_logging2_beta1 as logging2_beta1; /// @@ -1003,9 +1007,9 @@ impl<'a, C, A> OrganizationMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Logging::new(hyper::Client::new(), auth); +/// let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `logs_delete(...)` and `logs_list(...)` /// // to build up your call. @@ -1080,6 +1084,7 @@ impl<'a, C, A> BillingAccountMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_logging2_beta1 as logging2_beta1; /// @@ -1090,9 +1095,9 @@ impl<'a, C, A> BillingAccountMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Logging::new(hyper::Client::new(), auth); +/// let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -1135,6 +1140,7 @@ impl<'a, C, A> MonitoredResourceDescriptorMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_logging2_beta1 as logging2_beta1; /// @@ -1145,9 +1151,9 @@ impl<'a, C, A> MonitoredResourceDescriptorMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Logging::new(hyper::Client::new(), auth); +/// let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `logs_delete(...)`, `logs_list(...)`, `metrics_create(...)`, `metrics_delete(...)`, `metrics_get(...)`, `metrics_list(...)`, `metrics_update(...)`, `sinks_create(...)`, `sinks_delete(...)`, `sinks_get(...)`, `sinks_list(...)` and `sinks_update(...)` /// // to build up your call. @@ -1441,6 +1447,7 @@ impl<'a, C, A> ProjectMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_logging2_beta1 as logging2_beta1; /// @@ -1451,9 +1458,9 @@ impl<'a, C, A> ProjectMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Logging::new(hyper::Client::new(), auth); +/// let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` and `write(...)` /// // to build up your call. @@ -1524,6 +1531,7 @@ impl<'a, C, A> EntryMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_logging2_beta1 as logging2_beta1; /// # #[test] fn egal() { @@ -1533,9 +1541,9 @@ impl<'a, C, A> EntryMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Logging::new(hyper::Client::new(), auth); +/// # let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1774,6 +1782,7 @@ impl<'a, C, A> OrganizationLogDeleteCall<'a, C, A> where C: BorrowMut OrganizationLogDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Logging::new(hyper::Client::new(), auth); +/// # let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2048,6 +2057,7 @@ impl<'a, C, A> OrganizationLogListCall<'a, C, A> where C: BorrowMut OrganizationLogListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Logging::new(hyper::Client::new(), auth); +/// # let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2298,6 +2308,7 @@ impl<'a, C, A> BillingAccountLogDeleteCall<'a, C, A> where C: BorrowMut BillingAccountLogDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Logging::new(hyper::Client::new(), auth); +/// # let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2572,6 +2583,7 @@ impl<'a, C, A> BillingAccountLogListCall<'a, C, A> where C: BorrowMut BillingAccountLogListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Logging::new(hyper::Client::new(), auth); +/// # let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2804,6 +2816,7 @@ impl<'a, C, A> MonitoredResourceDescriptorListCall<'a, C, A> where C: BorrowMut< /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_logging2_beta1 as logging2_beta1; /// # #[test] fn egal() { @@ -2813,9 +2826,9 @@ impl<'a, C, A> MonitoredResourceDescriptorListCall<'a, C, A> where C: BorrowMut< /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Logging::new(hyper::Client::new(), auth); +/// # let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3051,6 +3064,7 @@ impl<'a, C, A> ProjectMetricGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_logging2_beta1 as logging2_beta1; /// # #[test] fn egal() { @@ -3060,9 +3074,9 @@ impl<'a, C, A> ProjectMetricGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Logging::new(hyper::Client::new(), auth); +/// # let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3301,6 +3315,7 @@ impl<'a, C, A> ProjectLogDeleteCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_logging2_beta1 as logging2_beta1; /// # #[test] fn egal() { @@ -3310,9 +3325,9 @@ impl<'a, C, A> ProjectLogDeleteCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Logging::new(hyper::Client::new(), auth); +/// # let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3575,6 +3590,7 @@ impl<'a, C, A> ProjectSinkListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_logging2_beta1 as logging2_beta1; /// # #[test] fn egal() { @@ -3584,9 +3600,9 @@ impl<'a, C, A> ProjectSinkListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Logging::new(hyper::Client::new(), auth); +/// # let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3825,6 +3841,7 @@ impl<'a, C, A> ProjectSinkGetCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_logging2_beta1 as logging2_beta1; /// use logging2_beta1::LogMetric; @@ -3835,9 +3852,9 @@ impl<'a, C, A> ProjectSinkGetCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Logging::new(hyper::Client::new(), auth); +/// # let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4103,6 +4120,7 @@ impl<'a, C, A> ProjectMetricUpdateCall<'a, C, A> where C: BorrowMut ProjectMetricUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Logging::new(hyper::Client::new(), auth); +/// # let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4399,6 +4417,7 @@ impl<'a, C, A> ProjectSinkUpdateCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_logging2_beta1 as logging2_beta1; /// # #[test] fn egal() { @@ -4408,9 +4427,9 @@ impl<'a, C, A> ProjectSinkUpdateCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Logging::new(hyper::Client::new(), auth); +/// # let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4673,6 +4692,7 @@ impl<'a, C, A> ProjectLogListCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_logging2_beta1 as logging2_beta1; /// # #[test] fn egal() { @@ -4682,9 +4702,9 @@ impl<'a, C, A> ProjectLogListCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Logging::new(hyper::Client::new(), auth); +/// # let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4920,6 +4940,7 @@ impl<'a, C, A> ProjectMetricDeleteCall<'a, C, A> where C: BorrowMut ProjectMetricDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Logging::new(hyper::Client::new(), auth); +/// # let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5213,6 +5234,7 @@ impl<'a, C, A> ProjectSinkCreateCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_logging2_beta1 as logging2_beta1; /// use logging2_beta1::LogMetric; @@ -5223,9 +5245,9 @@ impl<'a, C, A> ProjectSinkCreateCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Logging::new(hyper::Client::new(), auth); +/// # let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5491,6 +5513,7 @@ impl<'a, C, A> ProjectMetricCreateCall<'a, C, A> where C: BorrowMut ProjectMetricCreateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Logging::new(hyper::Client::new(), auth); +/// # let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5762,6 +5785,7 @@ impl<'a, C, A> ProjectMetricListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_logging2_beta1 as logging2_beta1; /// # #[test] fn egal() { @@ -5771,9 +5795,9 @@ impl<'a, C, A> ProjectMetricListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Logging::new(hyper::Client::new(), auth); +/// # let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6012,6 +6036,7 @@ impl<'a, C, A> ProjectSinkDeleteCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_logging2_beta1 as logging2_beta1; /// use logging2_beta1::ListLogEntriesRequest; @@ -6022,9 +6047,9 @@ impl<'a, C, A> ProjectSinkDeleteCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Logging::new(hyper::Client::new(), auth); +/// # let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6251,6 +6276,7 @@ impl<'a, C, A> EntryListCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_logging2_beta1 as logging2_beta1; /// use logging2_beta1::WriteLogEntriesRequest; @@ -6261,9 +6287,9 @@ impl<'a, C, A> EntryListCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Logging::new(hyper::Client::new(), auth); +/// # let mut hub = Logging::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/manager1_beta2-cli/Cargo.toml b/gen/manager1_beta2-cli/Cargo.toml index 15c78cd527..473d2c18cf 100644 --- a/gen/manager1_beta2-cli/Cargo.toml +++ b/gen/manager1_beta2-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["manager", "google", "cli"] [[bin]] name = "manager1-beta2" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/manager1_beta2/Cargo.toml b/gen/manager1_beta2/Cargo.toml index bffd51e565..00a1b30e0f 100644 --- a/gen/manager1_beta2/Cargo.toml +++ b/gen/manager1_beta2/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["manager", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/manager1_beta2/README.md b/gen/manager1_beta2/README.md index bdf8799ea4..adb87b4e32 100644 --- a/gen/manager1_beta2/README.md +++ b/gen/manager1_beta2/README.md @@ -75,6 +75,7 @@ google-manager1_beta2 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_manager1_beta2 as manager1_beta2; use manager1_beta2::{Result, Error}; @@ -91,9 +92,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Manager::new(hyper::Client::new(), auth); +let mut hub = Manager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! diff --git a/gen/manager1_beta2/src/lib.rs b/gen/manager1_beta2/src/lib.rs index 1719b50e2b..af662a2622 100644 --- a/gen/manager1_beta2/src/lib.rs +++ b/gen/manager1_beta2/src/lib.rs @@ -75,6 +75,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_manager1_beta2 as manager1_beta2; //! use manager1_beta2::{Result, Error}; @@ -92,9 +93,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Manager::new(hyper::Client::new(), auth); +//! let mut hub = Manager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! @@ -279,6 +280,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_manager1_beta2 as manager1_beta2; /// use manager1_beta2::{Result, Error}; @@ -296,9 +298,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Manager::new(hyper::Client::new(), auth); +/// let mut hub = Manager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1146,6 +1148,7 @@ impl Part for DiskAttachment {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_manager1_beta2 as manager1_beta2; /// @@ -1156,9 +1159,9 @@ impl Part for DiskAttachment {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Manager::new(hyper::Client::new(), auth); +/// let mut hub = Manager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -1263,6 +1266,7 @@ impl<'a, C, A> TemplateMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_manager1_beta2 as manager1_beta2; /// @@ -1273,9 +1277,9 @@ impl<'a, C, A> TemplateMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Manager::new(hyper::Client::new(), auth); +/// let mut hub = Manager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -1396,6 +1400,7 @@ impl<'a, C, A> DeploymentMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_manager1_beta2 as manager1_beta2; /// # #[test] fn egal() { @@ -1405,9 +1410,9 @@ impl<'a, C, A> DeploymentMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Manager::new(hyper::Client::new(), auth); +/// # let mut hub = Manager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1654,6 +1659,7 @@ impl<'a, C, A> TemplateListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_manager1_beta2 as manager1_beta2; /// # #[test] fn egal() { @@ -1663,9 +1669,9 @@ impl<'a, C, A> TemplateListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Manager::new(hyper::Client::new(), auth); +/// # let mut hub = Manager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1888,6 +1894,7 @@ impl<'a, C, A> TemplateDeleteCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_manager1_beta2 as manager1_beta2; /// use manager1_beta2::Template; @@ -1898,9 +1905,9 @@ impl<'a, C, A> TemplateDeleteCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Manager::new(hyper::Client::new(), auth); +/// # let mut hub = Manager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2153,6 +2160,7 @@ impl<'a, C, A> TemplateInsertCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_manager1_beta2 as manager1_beta2; /// # #[test] fn egal() { @@ -2162,9 +2170,9 @@ impl<'a, C, A> TemplateInsertCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Manager::new(hyper::Client::new(), auth); +/// # let mut hub = Manager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2398,6 +2406,7 @@ impl<'a, C, A> TemplateGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_manager1_beta2 as manager1_beta2; /// use manager1_beta2::Deployment; @@ -2408,9 +2417,9 @@ impl<'a, C, A> TemplateGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Manager::new(hyper::Client::new(), auth); +/// # let mut hub = Manager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2674,6 +2683,7 @@ impl<'a, C, A> DeploymentInsertCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_manager1_beta2 as manager1_beta2; /// # #[test] fn egal() { @@ -2683,9 +2693,9 @@ impl<'a, C, A> DeploymentInsertCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Manager::new(hyper::Client::new(), auth); +/// # let mut hub = Manager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2930,6 +2940,7 @@ impl<'a, C, A> DeploymentGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_manager1_beta2 as manager1_beta2; /// # #[test] fn egal() { @@ -2939,9 +2950,9 @@ impl<'a, C, A> DeploymentGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Manager::new(hyper::Client::new(), auth); +/// # let mut hub = Manager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3199,6 +3210,7 @@ impl<'a, C, A> DeploymentListCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_manager1_beta2 as manager1_beta2; /// # #[test] fn egal() { @@ -3208,9 +3220,9 @@ impl<'a, C, A> DeploymentListCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Manager::new(hyper::Client::new(), auth); +/// # let mut hub = Manager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/manufacturers1-cli/Cargo.toml b/gen/manufacturers1-cli/Cargo.toml index 57233a9553..d37949f1a9 100644 --- a/gen/manufacturers1-cli/Cargo.toml +++ b/gen/manufacturers1-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["manufacturers", "google", "cli"] [[bin]] name = "manufacturers1" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/manufacturers1/Cargo.toml b/gen/manufacturers1/Cargo.toml index 63c48405b8..12294a7c39 100644 --- a/gen/manufacturers1/Cargo.toml +++ b/gen/manufacturers1/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["manufacturers", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/manufacturers1/README.md b/gen/manufacturers1/README.md index 3f9624f89b..c49062db17 100644 --- a/gen/manufacturers1/README.md +++ b/gen/manufacturers1/README.md @@ -70,6 +70,7 @@ google-manufacturers1 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_manufacturers1 as manufacturers1; use manufacturers1::{Result, Error}; @@ -86,9 +87,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = ManufacturerCenter::new(hyper::Client::new(), auth); +let mut hub = ManufacturerCenter::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! diff --git a/gen/manufacturers1/src/lib.rs b/gen/manufacturers1/src/lib.rs index eaec210553..cc762c3098 100644 --- a/gen/manufacturers1/src/lib.rs +++ b/gen/manufacturers1/src/lib.rs @@ -70,6 +70,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_manufacturers1 as manufacturers1; //! use manufacturers1::{Result, Error}; @@ -87,9 +88,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = ManufacturerCenter::new(hyper::Client::new(), auth); +//! let mut hub = ManufacturerCenter::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! @@ -248,6 +249,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_manufacturers1 as manufacturers1; /// use manufacturers1::{Result, Error}; @@ -265,9 +267,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = ManufacturerCenter::new(hyper::Client::new(), auth); +/// let mut hub = ManufacturerCenter::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -713,6 +715,7 @@ impl Part for Price {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_manufacturers1 as manufacturers1; /// @@ -723,9 +726,9 @@ impl Part for Price {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = ManufacturerCenter::new(hyper::Client::new(), auth); +/// let mut hub = ManufacturerCenter::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `products_get(...)` and `products_list(...)` /// // to build up your call. @@ -809,6 +812,7 @@ impl<'a, C, A> AccountMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_manufacturers1 as manufacturers1; /// # #[test] fn egal() { @@ -818,9 +822,9 @@ impl<'a, C, A> AccountMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = ManufacturerCenter::new(hyper::Client::new(), auth); +/// # let mut hub = ManufacturerCenter::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1082,6 +1086,7 @@ impl<'a, C, A> AccountProductListCall<'a, C, A> where C: BorrowMut AccountProductListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = ManufacturerCenter::new(hyper::Client::new(), auth); +/// # let mut hub = ManufacturerCenter::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/mirror1-cli/Cargo.toml b/gen/mirror1-cli/Cargo.toml index d709bfc3c6..2d82fcb5d7 100644 --- a/gen/mirror1-cli/Cargo.toml +++ b/gen/mirror1-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["mirror", "google", "cli"] [[bin]] name = "mirror1" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/mirror1/Cargo.toml b/gen/mirror1/Cargo.toml index 0acdf9a2e7..de185ec5f7 100644 --- a/gen/mirror1/Cargo.toml +++ b/gen/mirror1/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["mirror", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/mirror1/README.md b/gen/mirror1/README.md index 4d166047cf..210799f7b9 100644 --- a/gen/mirror1/README.md +++ b/gen/mirror1/README.md @@ -95,6 +95,7 @@ google-mirror1 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_mirror1 as mirror1; use mirror1::Contact; @@ -112,9 +113,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Mirror::new(hyper::Client::new(), auth); +let mut hub = Mirror::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! diff --git a/gen/mirror1/src/lib.rs b/gen/mirror1/src/lib.rs index 7e1c6a8f20..768f55483e 100644 --- a/gen/mirror1/src/lib.rs +++ b/gen/mirror1/src/lib.rs @@ -95,6 +95,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_mirror1 as mirror1; //! use mirror1::Contact; @@ -113,9 +114,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Mirror::new(hyper::Client::new(), auth); +//! let mut hub = Mirror::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! @@ -283,6 +284,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_mirror1 as mirror1; /// use mirror1::Contact; @@ -301,9 +303,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Mirror::new(hyper::Client::new(), auth); +/// let mut hub = Mirror::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1043,6 +1045,7 @@ impl ResponseResult for Subscription {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_mirror1 as mirror1; /// @@ -1053,9 +1056,9 @@ impl ResponseResult for Subscription {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Mirror::new(hyper::Client::new(), auth); +/// let mut hub = Mirror::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `insert(...)`, `list(...)` and `update(...)` /// // to build up your call. @@ -1149,6 +1152,7 @@ impl<'a, C, A> SubscriptionMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_mirror1 as mirror1; /// @@ -1159,9 +1163,9 @@ impl<'a, C, A> SubscriptionMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Mirror::new(hyper::Client::new(), auth); +/// let mut hub = Mirror::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `attachments_delete(...)`, `attachments_get(...)`, `attachments_insert(...)`, `attachments_list(...)`, `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -1370,6 +1374,7 @@ impl<'a, C, A> TimelineMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_mirror1 as mirror1; /// @@ -1380,9 +1385,9 @@ impl<'a, C, A> TimelineMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Mirror::new(hyper::Client::new(), auth); +/// let mut hub = Mirror::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -1430,6 +1435,7 @@ impl<'a, C, A> SettingMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_mirror1 as mirror1; /// @@ -1440,9 +1446,9 @@ impl<'a, C, A> SettingMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Mirror::new(hyper::Client::new(), auth); +/// let mut hub = Mirror::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -1500,6 +1506,7 @@ impl<'a, C, A> LocationMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_mirror1 as mirror1; /// @@ -1510,9 +1517,9 @@ impl<'a, C, A> LocationMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Mirror::new(hyper::Client::new(), auth); +/// let mut hub = Mirror::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `insert(...)` /// // to build up your call. @@ -1563,6 +1570,7 @@ impl<'a, C, A> AccountMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_mirror1 as mirror1; /// @@ -1573,9 +1581,9 @@ impl<'a, C, A> AccountMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Mirror::new(hyper::Client::new(), auth); +/// let mut hub = Mirror::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -1713,6 +1721,7 @@ impl<'a, C, A> ContactMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_mirror1 as mirror1; /// use mirror1::Subscription; @@ -1723,9 +1732,9 @@ impl<'a, C, A> ContactMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Mirror::new(hyper::Client::new(), auth); +/// # let mut hub = Mirror::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1946,6 +1955,7 @@ impl<'a, C, A> SubscriptionInsertCall<'a, C, A> where C: BorrowMut SubscriptionInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Mirror::new(hyper::Client::new(), auth); +/// # let mut hub = Mirror::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2170,6 +2180,7 @@ impl<'a, C, A> SubscriptionDeleteCall<'a, C, A> where C: BorrowMut SubscriptionDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Mirror::new(hyper::Client::new(), auth); +/// # let mut hub = Mirror::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2436,6 +2447,7 @@ impl<'a, C, A> SubscriptionUpdateCall<'a, C, A> where C: BorrowMut SubscriptionUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Mirror::new(hyper::Client::new(), auth); +/// # let mut hub = Mirror::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2638,6 +2650,7 @@ impl<'a, C, A> SubscriptionListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_mirror1 as mirror1; /// # #[test] fn egal() { @@ -2647,9 +2660,9 @@ impl<'a, C, A> SubscriptionListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Mirror::new(hyper::Client::new(), auth); +/// # let mut hub = Mirror::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2873,6 +2886,7 @@ impl<'a, C, A> TimelineAttachmentListCall<'a, C, A> where C: BorrowMut TimelineAttachmentListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Mirror::new(hyper::Client::new(), auth); +/// # let mut hub = Mirror::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3220,6 +3234,7 @@ impl<'a, C, A> TimelineInsertCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_mirror1 as mirror1; /// use mirror1::TimelineItem; @@ -3230,9 +3245,9 @@ impl<'a, C, A> TimelineInsertCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Mirror::new(hyper::Client::new(), auth); +/// # let mut hub = Mirror::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3486,6 +3501,7 @@ impl<'a, C, A> TimelinePatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_mirror1 as mirror1; /// # #[test] fn egal() { @@ -3495,9 +3511,9 @@ impl<'a, C, A> TimelinePatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Mirror::new(hyper::Client::new(), auth); +/// # let mut hub = Mirror::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3772,6 +3788,7 @@ impl<'a, C, A> TimelineListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_mirror1 as mirror1; /// use std::fs; @@ -3782,9 +3799,9 @@ impl<'a, C, A> TimelineListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Mirror::new(hyper::Client::new(), auth); +/// # let mut hub = Mirror::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `upload(...)`. /// // Values shown here are possibly random and not representative ! @@ -4116,6 +4133,7 @@ impl<'a, C, A> TimelineAttachmentInsertCall<'a, C, A> where C: BorrowMut TimelineAttachmentInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Mirror::new(hyper::Client::new(), auth); +/// # let mut hub = Mirror::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4352,6 +4370,7 @@ impl<'a, C, A> TimelineAttachmentDeleteCall<'a, C, A> where C: BorrowMut TimelineAttachmentDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Mirror::new(hyper::Client::new(), auth); +/// # let mut hub = Mirror::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4576,6 +4595,7 @@ impl<'a, C, A> TimelineDeleteCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_mirror1 as mirror1; /// use mirror1::TimelineItem; @@ -4587,9 +4607,9 @@ impl<'a, C, A> TimelineDeleteCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Mirror::new(hyper::Client::new(), auth); +/// # let mut hub = Mirror::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4961,6 +4981,7 @@ impl<'a, C, A> TimelineUpdateCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_mirror1 as mirror1; /// # #[test] fn egal() { @@ -4970,9 +4991,9 @@ impl<'a, C, A> TimelineUpdateCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Mirror::new(hyper::Client::new(), auth); +/// # let mut hub = Mirror::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5224,6 +5245,7 @@ impl<'a, C, A> TimelineAttachmentGetCall<'a, C, A> where C: BorrowMut TimelineAttachmentGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Mirror::new(hyper::Client::new(), auth); +/// # let mut hub = Mirror::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5459,6 +5481,7 @@ impl<'a, C, A> TimelineGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_mirror1 as mirror1; /// # #[test] fn egal() { @@ -5468,9 +5491,9 @@ impl<'a, C, A> TimelineGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Mirror::new(hyper::Client::new(), auth); +/// # let mut hub = Mirror::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5696,6 +5719,7 @@ impl<'a, C, A> SettingGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_mirror1 as mirror1; /// # #[test] fn egal() { @@ -5705,9 +5729,9 @@ impl<'a, C, A> SettingGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Mirror::new(hyper::Client::new(), auth); +/// # let mut hub = Mirror::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5931,6 +5955,7 @@ impl<'a, C, A> LocationGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_mirror1 as mirror1; /// # #[test] fn egal() { @@ -5940,9 +5965,9 @@ impl<'a, C, A> LocationGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Mirror::new(hyper::Client::new(), auth); +/// # let mut hub = Mirror::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6133,6 +6158,7 @@ impl<'a, C, A> LocationListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_mirror1 as mirror1; /// use mirror1::Account; @@ -6143,9 +6169,9 @@ impl<'a, C, A> LocationListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Mirror::new(hyper::Client::new(), auth); +/// # let mut hub = Mirror::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6401,6 +6427,7 @@ impl<'a, C, A> AccountInsertCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_mirror1 as mirror1; /// # #[test] fn egal() { @@ -6410,9 +6437,9 @@ impl<'a, C, A> AccountInsertCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Mirror::new(hyper::Client::new(), auth); +/// # let mut hub = Mirror::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6636,6 +6663,7 @@ impl<'a, C, A> ContactGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_mirror1 as mirror1; /// # #[test] fn egal() { @@ -6645,9 +6673,9 @@ impl<'a, C, A> ContactGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Mirror::new(hyper::Client::new(), auth); +/// # let mut hub = Mirror::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6860,6 +6888,7 @@ impl<'a, C, A> ContactDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_mirror1 as mirror1; /// use mirror1::Contact; @@ -6870,9 +6899,9 @@ impl<'a, C, A> ContactDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Mirror::new(hyper::Client::new(), auth); +/// # let mut hub = Mirror::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7093,6 +7122,7 @@ impl<'a, C, A> ContactInsertCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_mirror1 as mirror1; /// use mirror1::Contact; @@ -7103,9 +7133,9 @@ impl<'a, C, A> ContactInsertCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Mirror::new(hyper::Client::new(), auth); +/// # let mut hub = Mirror::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7359,6 +7389,7 @@ impl<'a, C, A> ContactPatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_mirror1 as mirror1; /// # #[test] fn egal() { @@ -7368,9 +7399,9 @@ impl<'a, C, A> ContactPatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Mirror::new(hyper::Client::new(), auth); +/// # let mut hub = Mirror::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7561,6 +7592,7 @@ impl<'a, C, A> ContactListCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_mirror1 as mirror1; /// use mirror1::Contact; @@ -7571,9 +7603,9 @@ impl<'a, C, A> ContactListCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Mirror::new(hyper::Client::new(), auth); +/// # let mut hub = Mirror::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/ml1_beta1-cli/Cargo.toml b/gen/ml1_beta1-cli/Cargo.toml index 72f1b57201..fbc6f55e4a 100644 --- a/gen/ml1_beta1-cli/Cargo.toml +++ b/gen/ml1_beta1-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["ml", "google", "cli"] [[bin]] name = "ml1-beta1" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/ml1_beta1/Cargo.toml b/gen/ml1_beta1/Cargo.toml index 0168293b31..4aff26d437 100644 --- a/gen/ml1_beta1/Cargo.toml +++ b/gen/ml1_beta1/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["ml", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/ml1_beta1/README.md b/gen/ml1_beta1/README.md index 46d6c436b0..096c956a2b 100644 --- a/gen/ml1_beta1/README.md +++ b/gen/ml1_beta1/README.md @@ -73,6 +73,7 @@ google-ml1_beta1 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_ml1_beta1 as ml1_beta1; use ml1_beta1::GoogleCloudMlV1beta1__Version; @@ -90,9 +91,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = CloudMachineLearningEngine::new(hyper::Client::new(), auth); +let mut hub = CloudMachineLearningEngine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! diff --git a/gen/ml1_beta1/src/lib.rs b/gen/ml1_beta1/src/lib.rs index ffe5696775..df1340f8ea 100644 --- a/gen/ml1_beta1/src/lib.rs +++ b/gen/ml1_beta1/src/lib.rs @@ -73,6 +73,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_ml1_beta1 as ml1_beta1; //! use ml1_beta1::GoogleCloudMlV1beta1__Version; @@ -91,9 +92,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = CloudMachineLearningEngine::new(hyper::Client::new(), auth); +//! let mut hub = CloudMachineLearningEngine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! @@ -257,6 +258,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_ml1_beta1 as ml1_beta1; /// use ml1_beta1::GoogleCloudMlV1beta1__Version; @@ -275,9 +277,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = CloudMachineLearningEngine::new(hyper::Client::new(), auth); +/// let mut hub = CloudMachineLearningEngine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1451,6 +1453,7 @@ impl Part for GoogleRpc__Status {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_ml1_beta1 as ml1_beta1; /// @@ -1461,9 +1464,9 @@ impl Part for GoogleRpc__Status {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = CloudMachineLearningEngine::new(hyper::Client::new(), auth); +/// let mut hub = CloudMachineLearningEngine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get_config(...)`, `jobs_cancel(...)`, `jobs_create(...)`, `jobs_get(...)`, `jobs_list(...)`, `models_create(...)`, `models_delete(...)`, `models_get(...)`, `models_list(...)`, `models_versions_create(...)`, `models_versions_delete(...)`, `models_versions_get(...)`, `models_versions_list(...)`, `models_versions_set_default(...)`, `operations_cancel(...)`, `operations_delete(...)`, `operations_get(...)`, `operations_list(...)` and `predict(...)` /// // to build up your call. @@ -1933,6 +1936,7 @@ impl<'a, C, A> ProjectMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_ml1_beta1 as ml1_beta1; /// # #[test] fn egal() { @@ -1942,9 +1946,9 @@ impl<'a, C, A> ProjectMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::new(), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2217,6 +2221,7 @@ impl<'a, C, A> ProjectOperationListCall<'a, C, A> where C: BorrowMut ProjectOperationListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::new(), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2469,6 +2474,7 @@ impl<'a, C, A> ProjectOperationDeleteCall<'a, C, A> where C: BorrowMut ProjectOperationDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::new(), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2751,6 +2757,7 @@ impl<'a, C, A> ProjectModelVersionCreateCall<'a, C, A> where C: BorrowMut ProjectModelVersionCreateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::new(), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3031,6 +3038,7 @@ impl<'a, C, A> ProjectModelVersionListCall<'a, C, A> where C: BorrowMut ProjectModelVersionListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::new(), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3282,6 +3290,7 @@ impl<'a, C, A> ProjectOperationGetCall<'a, C, A> where C: BorrowMut ProjectOperationGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::new(), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3531,6 +3540,7 @@ impl<'a, C, A> ProjectModelVersionDeleteCall<'a, C, A> where C: BorrowMut ProjectModelVersionDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::new(), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3813,6 +3823,7 @@ impl<'a, C, A> ProjectJobCreateCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_ml1_beta1 as ml1_beta1; /// # #[test] fn egal() { @@ -3822,9 +3833,9 @@ impl<'a, C, A> ProjectJobCreateCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::new(), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4062,6 +4073,7 @@ impl<'a, C, A> ProjectModelDeleteCall<'a, C, A> where C: BorrowMut ProjectModelDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::new(), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4345,6 +4357,7 @@ impl<'a, C, A> ProjectPredictCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_ml1_beta1 as ml1_beta1; /// # #[test] fn egal() { @@ -4354,9 +4367,9 @@ impl<'a, C, A> ProjectPredictCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::new(), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4595,6 +4608,7 @@ impl<'a, C, A> ProjectModelVersionGetCall<'a, C, A> where C: BorrowMut ProjectModelVersionGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::new(), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4842,6 +4856,7 @@ impl<'a, C, A> ProjectGetConfigCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_ml1_beta1 as ml1_beta1; /// # #[test] fn egal() { @@ -4851,9 +4866,9 @@ impl<'a, C, A> ProjectGetConfigCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::new(), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5098,6 +5113,7 @@ impl<'a, C, A> ProjectJobGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_ml1_beta1 as ml1_beta1; /// # #[test] fn egal() { @@ -5107,9 +5123,9 @@ impl<'a, C, A> ProjectJobGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::new(), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5347,6 +5363,7 @@ impl<'a, C, A> ProjectOperationCancelCall<'a, C, A> where C: BorrowMut ProjectOperationCancelCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::new(), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5632,6 +5649,7 @@ impl<'a, C, A> ProjectModelCreateCall<'a, C, A> where C: BorrowMut ProjectModelCreateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::new(), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5912,6 +5930,7 @@ impl<'a, C, A> ProjectModelVersionSetDefaultCall<'a, C, A> where C: BorrowMut ProjectModelVersionSetDefaultCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::new(), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6202,6 +6221,7 @@ impl<'a, C, A> ProjectJobListCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_ml1_beta1 as ml1_beta1; /// use ml1_beta1::GoogleCloudMlV1beta1__CancelJobRequest; @@ -6212,9 +6232,9 @@ impl<'a, C, A> ProjectJobListCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::new(), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6482,6 +6502,7 @@ impl<'a, C, A> ProjectJobCancelCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_ml1_beta1 as ml1_beta1; /// # #[test] fn egal() { @@ -6491,9 +6512,9 @@ impl<'a, C, A> ProjectJobCancelCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::new(), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6732,6 +6753,7 @@ impl<'a, C, A> ProjectModelGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_ml1_beta1 as ml1_beta1; /// # #[test] fn egal() { @@ -6741,9 +6763,9 @@ impl<'a, C, A> ProjectModelGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::new(), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/monitoring3-cli/Cargo.toml b/gen/monitoring3-cli/Cargo.toml index 1fb2504591..918ae289ed 100644 --- a/gen/monitoring3-cli/Cargo.toml +++ b/gen/monitoring3-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["monitoring", "google", "cli"] [[bin]] name = "monitoring3" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/monitoring3/Cargo.toml b/gen/monitoring3/Cargo.toml index a704895ebc..6194d46c17 100644 --- a/gen/monitoring3/Cargo.toml +++ b/gen/monitoring3/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["monitoring", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/monitoring3/README.md b/gen/monitoring3/README.md index 349cc4659b..80b5182dcd 100644 --- a/gen/monitoring3/README.md +++ b/gen/monitoring3/README.md @@ -73,6 +73,7 @@ google-monitoring3 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_monitoring3 as monitoring3; use monitoring3::CreateTimeSeriesRequest; @@ -90,9 +91,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Monitoring::new(hyper::Client::new(), auth); +let mut hub = Monitoring::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! diff --git a/gen/monitoring3/src/lib.rs b/gen/monitoring3/src/lib.rs index e56516b6e0..35db94389e 100644 --- a/gen/monitoring3/src/lib.rs +++ b/gen/monitoring3/src/lib.rs @@ -73,6 +73,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_monitoring3 as monitoring3; //! use monitoring3::CreateTimeSeriesRequest; @@ -91,9 +92,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Monitoring::new(hyper::Client::new(), auth); +//! let mut hub = Monitoring::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! @@ -269,6 +270,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_monitoring3 as monitoring3; /// use monitoring3::CreateTimeSeriesRequest; @@ -287,9 +289,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Monitoring::new(hyper::Client::new(), auth); +/// let mut hub = Monitoring::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1006,6 +1008,7 @@ impl ResponseResult for MonitoredResourceDescriptor {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_monitoring3 as monitoring3; /// @@ -1016,9 +1019,9 @@ impl ResponseResult for MonitoredResourceDescriptor {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Monitoring::new(hyper::Client::new(), auth); +/// let mut hub = Monitoring::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `collectd_time_series_create(...)`, `groups_create(...)`, `groups_delete(...)`, `groups_get(...)`, `groups_list(...)`, `groups_members_list(...)`, `groups_update(...)`, `metric_descriptors_create(...)`, `metric_descriptors_delete(...)`, `metric_descriptors_get(...)`, `metric_descriptors_list(...)`, `monitored_resource_descriptors_get(...)`, `monitored_resource_descriptors_list(...)`, `time_series_create(...)` and `time_series_list(...)` /// // to build up your call. @@ -1349,6 +1352,7 @@ impl<'a, C, A> ProjectMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_monitoring3 as monitoring3; /// # #[test] fn egal() { @@ -1358,9 +1362,9 @@ impl<'a, C, A> ProjectMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Monitoring::new(hyper::Client::new(), auth); +/// # let mut hub = Monitoring::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1594,6 +1598,7 @@ impl<'a, C, A> ProjectMetricDescriptorDeleteCall<'a, C, A> where C: BorrowMut ProjectMetricDescriptorDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Monitoring::new(hyper::Client::new(), auth); +/// # let mut hub = Monitoring::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1882,6 +1887,7 @@ impl<'a, C, A> ProjectGroupCreateCall<'a, C, A> where C: BorrowMut ProjectGroupCreateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Monitoring::new(hyper::Client::new(), auth); +/// # let mut hub = Monitoring::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2127,6 +2133,7 @@ impl<'a, C, A> ProjectGroupGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_monitoring3 as monitoring3; /// # #[test] fn egal() { @@ -2136,9 +2143,9 @@ impl<'a, C, A> ProjectGroupGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Monitoring::new(hyper::Client::new(), auth); +/// # let mut hub = Monitoring::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2372,6 +2379,7 @@ impl<'a, C, A> ProjectMetricDescriptorGetCall<'a, C, A> where C: BorrowMut ProjectMetricDescriptorGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Monitoring::new(hyper::Client::new(), auth); +/// # let mut hub = Monitoring::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2648,6 +2656,7 @@ impl<'a, C, A> ProjectCollectdTimeSeryCreateCall<'a, C, A> where C: BorrowMut ProjectCollectdTimeSeryCreateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Monitoring::new(hyper::Client::new(), auth); +/// # let mut hub = Monitoring::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2955,6 +2964,7 @@ impl<'a, C, A> ProjectGroupMemberListCall<'a, C, A> where C: BorrowMut ProjectGroupMemberListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Monitoring::new(hyper::Client::new(), auth); +/// # let mut hub = Monitoring::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3238,6 +3248,7 @@ impl<'a, C, A> ProjectMonitoredResourceDescriptorListCall<'a, C, A> where C: Bor /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_monitoring3 as monitoring3; /// use monitoring3::CreateTimeSeriesRequest; @@ -3248,9 +3259,9 @@ impl<'a, C, A> ProjectMonitoredResourceDescriptorListCall<'a, C, A> where C: Bor /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Monitoring::new(hyper::Client::new(), auth); +/// # let mut hub = Monitoring::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3514,6 +3525,7 @@ impl<'a, C, A> ProjectTimeSeryCreateCall<'a, C, A> where C: BorrowMut ProjectTimeSeryCreateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Monitoring::new(hyper::Client::new(), auth); +/// # let mut hub = Monitoring::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3790,6 +3802,7 @@ impl<'a, C, A> ProjectMetricDescriptorCreateCall<'a, C, A> where C: BorrowMut ProjectMetricDescriptorCreateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Monitoring::new(hyper::Client::new(), auth); +/// # let mut hub = Monitoring::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4095,6 +4108,7 @@ impl<'a, C, A> ProjectGroupListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_monitoring3 as monitoring3; /// # #[test] fn egal() { @@ -4104,9 +4118,9 @@ impl<'a, C, A> ProjectGroupListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Monitoring::new(hyper::Client::new(), auth); +/// # let mut hub = Monitoring::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4378,6 +4392,7 @@ impl<'a, C, A> ProjectMetricDescriptorListCall<'a, C, A> where C: BorrowMut ProjectMetricDescriptorListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Monitoring::new(hyper::Client::new(), auth); +/// # let mut hub = Monitoring::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4623,6 +4638,7 @@ impl<'a, C, A> ProjectMonitoredResourceDescriptorGetCall<'a, C, A> where C: Borr /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_monitoring3 as monitoring3; /// use monitoring3::Group; @@ -4633,9 +4649,9 @@ impl<'a, C, A> ProjectMonitoredResourceDescriptorGetCall<'a, C, A> where C: Borr /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Monitoring::new(hyper::Client::new(), auth); +/// # let mut hub = Monitoring::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4911,6 +4927,7 @@ impl<'a, C, A> ProjectGroupUpdateCall<'a, C, A> where C: BorrowMut ProjectGroupUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Monitoring::new(hyper::Client::new(), auth); +/// # let mut hub = Monitoring::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5156,6 +5173,7 @@ impl<'a, C, A> ProjectGroupDeleteCall<'a, C, A> where C: BorrowMut ProjectGroupDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Monitoring::new(hyper::Client::new(), auth); +/// # let mut hub = Monitoring::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/pagespeedonline2-cli/Cargo.toml b/gen/pagespeedonline2-cli/Cargo.toml index d1f1cb636b..ade9436da9 100644 --- a/gen/pagespeedonline2-cli/Cargo.toml +++ b/gen/pagespeedonline2-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["pagespeedonline", "google", "cli"] [[bin]] name = "pagespeedonline2" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/pagespeedonline2/Cargo.toml b/gen/pagespeedonline2/Cargo.toml index 850abb1d52..0f57380f5d 100644 --- a/gen/pagespeedonline2/Cargo.toml +++ b/gen/pagespeedonline2/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["pagespeedonline", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/pagespeedonline2/README.md b/gen/pagespeedonline2/README.md index eb506151bf..d0c1f05e98 100644 --- a/gen/pagespeedonline2/README.md +++ b/gen/pagespeedonline2/README.md @@ -70,6 +70,7 @@ google-pagespeedonline2 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_pagespeedonline2 as pagespeedonline2; use pagespeedonline2::{Result, Error}; @@ -86,9 +87,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Pagespeedonline::new(hyper::Client::new(), auth); +let mut hub = Pagespeedonline::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! diff --git a/gen/pagespeedonline2/src/lib.rs b/gen/pagespeedonline2/src/lib.rs index 130b0503bd..ebc57d95bf 100644 --- a/gen/pagespeedonline2/src/lib.rs +++ b/gen/pagespeedonline2/src/lib.rs @@ -70,6 +70,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_pagespeedonline2 as pagespeedonline2; //! use pagespeedonline2::{Result, Error}; @@ -87,9 +88,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Pagespeedonline::new(hyper::Client::new(), auth); +//! let mut hub = Pagespeedonline::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! @@ -231,6 +232,7 @@ pub use cmn::{MultiPartReader, ToParts, MethodInfo, Result, Error, CallBuilder, /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_pagespeedonline2 as pagespeedonline2; /// use pagespeedonline2::{Result, Error}; @@ -248,9 +250,9 @@ pub use cmn::{MultiPartReader, ToParts, MethodInfo, Result, Error, CallBuilder, /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Pagespeedonline::new(hyper::Client::new(), auth); +/// let mut hub = Pagespeedonline::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -667,6 +669,7 @@ impl Part for ResultRuleGroups {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_pagespeedonline2 as pagespeedonline2; /// @@ -677,9 +680,9 @@ impl Part for ResultRuleGroups {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Pagespeedonline::new(hyper::Client::new(), auth); +/// let mut hub = Pagespeedonline::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `runpagespeed(...)` /// // to build up your call. @@ -737,6 +740,7 @@ impl<'a, C, A> PagespeedapiMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_pagespeedonline2 as pagespeedonline2; /// # #[test] fn egal() { @@ -746,9 +750,9 @@ impl<'a, C, A> PagespeedapiMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Pagespeedonline::new(hyper::Client::new(), auth); +/// # let mut hub = Pagespeedonline::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/partners2-cli/Cargo.toml b/gen/partners2-cli/Cargo.toml index 168897cf10..24453d0963 100644 --- a/gen/partners2-cli/Cargo.toml +++ b/gen/partners2-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["partners", "google", "cli"] [[bin]] name = "partners2" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/partners2/Cargo.toml b/gen/partners2/Cargo.toml index 27bb6804b3..a4703f7fb6 100644 --- a/gen/partners2/Cargo.toml +++ b/gen/partners2/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["partners", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/partners2/README.md b/gen/partners2/README.md index c0e82034ff..2624c6d9ac 100644 --- a/gen/partners2/README.md +++ b/gen/partners2/README.md @@ -94,6 +94,7 @@ google-partners2 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_partners2 as partners2; use partners2::CompanyRelation; @@ -111,9 +112,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Partners::new(hyper::Client::new(), auth); +let mut hub = Partners::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! diff --git a/gen/partners2/src/lib.rs b/gen/partners2/src/lib.rs index 7f2a9ff9e5..3e192b11d6 100644 --- a/gen/partners2/src/lib.rs +++ b/gen/partners2/src/lib.rs @@ -94,6 +94,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_partners2 as partners2; //! use partners2::CompanyRelation; @@ -112,9 +113,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Partners::new(hyper::Client::new(), auth); +//! let mut hub = Partners::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! @@ -263,6 +264,7 @@ pub use cmn::{MultiPartReader, ToParts, MethodInfo, Result, Error, CallBuilder, /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_partners2 as partners2; /// use partners2::CompanyRelation; @@ -281,9 +283,9 @@ pub use cmn::{MultiPartReader, ToParts, MethodInfo, Result, Error, CallBuilder, /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Partners::new(hyper::Client::new(), auth); +/// let mut hub = Partners::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1864,6 +1866,7 @@ impl Part for EventData {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_partners2 as partners2; /// @@ -1874,9 +1877,9 @@ impl Part for EventData {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Partners::new(hyper::Client::new(), auth); +/// let mut hub = Partners::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get_partnersstatus(...)`, `update_companies(...)` and `update_leads(...)` /// // to build up your call. @@ -1973,6 +1976,7 @@ impl<'a, C, A> MethodMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_partners2 as partners2; /// @@ -1983,9 +1987,9 @@ impl<'a, C, A> MethodMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Partners::new(hyper::Client::new(), auth); +/// let mut hub = Partners::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `log(...)` /// // to build up your call. @@ -2030,6 +2034,7 @@ impl<'a, C, A> UserEventMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_partners2 as partners2; /// @@ -2040,9 +2045,9 @@ impl<'a, C, A> UserEventMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Partners::new(hyper::Client::new(), auth); +/// let mut hub = Partners::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `log(...)` /// // to build up your call. @@ -2089,6 +2094,7 @@ impl<'a, C, A> ClientMessageMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_partners2 as partners2; /// @@ -2099,9 +2105,9 @@ impl<'a, C, A> ClientMessageMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Partners::new(hyper::Client::new(), auth); +/// let mut hub = Partners::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `leads_create(...)` and `list(...)` /// // to build up your call. @@ -2211,6 +2217,7 @@ impl<'a, C, A> CompanyMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_partners2 as partners2; /// @@ -2221,9 +2228,9 @@ impl<'a, C, A> CompanyMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Partners::new(hyper::Client::new(), auth); +/// let mut hub = Partners::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -2274,6 +2281,7 @@ impl<'a, C, A> LeadMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_partners2 as partners2; /// @@ -2284,9 +2292,9 @@ impl<'a, C, A> LeadMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Partners::new(hyper::Client::new(), auth); +/// let mut hub = Partners::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -2336,6 +2344,7 @@ impl<'a, C, A> AnalyticMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_partners2 as partners2; /// @@ -2346,9 +2355,9 @@ impl<'a, C, A> AnalyticMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Partners::new(hyper::Client::new(), auth); +/// let mut hub = Partners::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `history_list(...)` and `list(...)` /// // to build up your call. @@ -2417,6 +2426,7 @@ impl<'a, C, A> OfferMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_partners2 as partners2; /// @@ -2427,9 +2437,9 @@ impl<'a, C, A> OfferMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Partners::new(hyper::Client::new(), auth); +/// let mut hub = Partners::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get_token(...)` /// // to build up your call. @@ -2481,6 +2491,7 @@ impl<'a, C, A> ExamMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_partners2 as partners2; /// @@ -2491,9 +2502,9 @@ impl<'a, C, A> ExamMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Partners::new(hyper::Client::new(), auth); +/// let mut hub = Partners::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -2540,6 +2551,7 @@ impl<'a, C, A> UserStateMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_partners2 as partners2; /// @@ -2550,9 +2562,9 @@ impl<'a, C, A> UserStateMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Partners::new(hyper::Client::new(), auth); +/// let mut hub = Partners::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create_company_relation(...)`, `delete_company_relation(...)`, `get(...)` and `update_profile(...)` /// // to build up your call. @@ -2689,6 +2701,7 @@ impl<'a, C, A> UserMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_partners2 as partners2; /// use partners2::Company; @@ -2699,9 +2712,9 @@ impl<'a, C, A> UserMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Partners::new(hyper::Client::new(), auth); +/// # let mut hub = Partners::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3011,6 +3024,7 @@ impl<'a, C, A> MethodUpdateCompanyCall<'a, C, A> where C: BorrowMut MethodUpdateCompanyCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Partners::new(hyper::Client::new(), auth); +/// # let mut hub = Partners::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3288,6 +3302,7 @@ impl<'a, C, A> MethodGetPartnersstatuCall<'a, C, A> where C: BorrowMut MethodGetPartnersstatuCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Partners::new(hyper::Client::new(), auth); +/// # let mut hub = Partners::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3610,6 +3625,7 @@ impl<'a, C, A> MethodUpdateLeadCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_partners2 as partners2; /// use partners2::LogUserEventRequest; @@ -3620,9 +3636,9 @@ impl<'a, C, A> MethodUpdateLeadCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Partners::new(hyper::Client::new(), auth); +/// # let mut hub = Partners::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3829,6 +3845,7 @@ impl<'a, C, A> UserEventLogCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_partners2 as partners2; /// use partners2::LogMessageRequest; @@ -3839,9 +3856,9 @@ impl<'a, C, A> UserEventLogCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Partners::new(hyper::Client::new(), auth); +/// # let mut hub = Partners::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4046,6 +4063,7 @@ impl<'a, C, A> ClientMessageLogCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_partners2 as partners2; /// # #[test] fn egal() { @@ -4055,9 +4073,9 @@ impl<'a, C, A> ClientMessageLogCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Partners::new(hyper::Client::new(), auth); +/// # let mut hub = Partners::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4411,6 +4429,7 @@ impl<'a, C, A> CompanyGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_partners2 as partners2; /// use partners2::CreateLeadRequest; @@ -4421,9 +4440,9 @@ impl<'a, C, A> CompanyGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Partners::new(hyper::Client::new(), auth); +/// # let mut hub = Partners::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4661,6 +4680,7 @@ impl<'a, C, A> CompanyLeadCreateCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_partners2 as partners2; /// # #[test] fn egal() { @@ -4670,9 +4690,9 @@ impl<'a, C, A> CompanyLeadCreateCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Partners::new(hyper::Client::new(), auth); +/// # let mut hub = Partners::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5199,6 +5219,7 @@ impl<'a, C, A> CompanyListCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_partners2 as partners2; /// # #[test] fn egal() { @@ -5208,9 +5229,9 @@ impl<'a, C, A> CompanyListCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Partners::new(hyper::Client::new(), auth); +/// # let mut hub = Partners::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5518,6 +5539,7 @@ impl<'a, C, A> LeadListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_partners2 as partners2; /// # #[test] fn egal() { @@ -5527,9 +5549,9 @@ impl<'a, C, A> LeadListCall<'a, C, A> where C: BorrowMut, A: oaut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Partners::new(hyper::Client::new(), auth); +/// # let mut hub = Partners::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5831,6 +5853,7 @@ impl<'a, C, A> AnalyticListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_partners2 as partners2; /// # #[test] fn egal() { @@ -5840,9 +5863,9 @@ impl<'a, C, A> AnalyticListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Partners::new(hyper::Client::new(), auth); +/// # let mut hub = Partners::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6160,6 +6183,7 @@ impl<'a, C, A> OfferHistoryListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_partners2 as partners2; /// # #[test] fn egal() { @@ -6169,9 +6193,9 @@ impl<'a, C, A> OfferHistoryListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Partners::new(hyper::Client::new(), auth); +/// # let mut hub = Partners::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6437,6 +6461,7 @@ impl<'a, C, A> OfferListCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_partners2 as partners2; /// # #[test] fn egal() { @@ -6446,9 +6471,9 @@ impl<'a, C, A> OfferListCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Partners::new(hyper::Client::new(), auth); +/// # let mut hub = Partners::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6747,6 +6772,7 @@ impl<'a, C, A> ExamGetTokenCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_partners2 as partners2; /// # #[test] fn egal() { @@ -6756,9 +6782,9 @@ impl<'a, C, A> ExamGetTokenCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Partners::new(hyper::Client::new(), auth); +/// # let mut hub = Partners::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7025,6 +7051,7 @@ impl<'a, C, A> UserStateListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_partners2 as partners2; /// use partners2::UserProfile; @@ -7035,9 +7062,9 @@ impl<'a, C, A> UserStateListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Partners::new(hyper::Client::new(), auth); +/// # let mut hub = Partners::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7333,6 +7360,7 @@ impl<'a, C, A> UserUpdateProfileCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_partners2 as partners2; /// use partners2::CompanyRelation; @@ -7343,9 +7371,9 @@ impl<'a, C, A> UserUpdateProfileCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Partners::new(hyper::Client::new(), auth); +/// # let mut hub = Partners::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7675,6 +7703,7 @@ impl<'a, C, A> UserCreateCompanyRelationCall<'a, C, A> where C: BorrowMut UserCreateCompanyRelationCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Partners::new(hyper::Client::new(), auth); +/// # let mut hub = Partners::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7998,6 +8027,7 @@ impl<'a, C, A> UserGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_partners2 as partners2; /// # #[test] fn egal() { @@ -8007,9 +8037,9 @@ impl<'a, C, A> UserGetCall<'a, C, A> where C: BorrowMut, A: oauth /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Partners::new(hyper::Client::new(), auth); +/// # let mut hub = Partners::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/people1-cli/Cargo.toml b/gen/people1-cli/Cargo.toml index 4fd89acc23..98d769ac03 100644 --- a/gen/people1-cli/Cargo.toml +++ b/gen/people1-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["people", "google", "cli"] [[bin]] name = "people1" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/people1/Cargo.toml b/gen/people1/Cargo.toml index 61c4817753..4a9e8b6989 100644 --- a/gen/people1/Cargo.toml +++ b/gen/people1/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["people", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/people1/README.md b/gen/people1/README.md index 817450ae7f..95e4aec03e 100644 --- a/gen/people1/README.md +++ b/gen/people1/README.md @@ -70,6 +70,7 @@ google-people1 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_people1 as people1; use people1::{Result, Error}; @@ -86,9 +87,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = PeopleService::new(hyper::Client::new(), auth); +let mut hub = PeopleService::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! diff --git a/gen/people1/src/lib.rs b/gen/people1/src/lib.rs index c6b01b6424..f9745b8fff 100644 --- a/gen/people1/src/lib.rs +++ b/gen/people1/src/lib.rs @@ -70,6 +70,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_people1 as people1; //! use people1::{Result, Error}; @@ -87,9 +88,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = PeopleService::new(hyper::Client::new(), auth); +//! let mut hub = PeopleService::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! @@ -281,6 +282,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_people1 as people1; /// use people1::{Result, Error}; @@ -298,9 +300,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = PeopleService::new(hyper::Client::new(), auth); +/// let mut hub = PeopleService::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1474,6 +1476,7 @@ impl Part for ProfileMetadata {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_people1 as people1; /// @@ -1484,9 +1487,9 @@ impl Part for ProfileMetadata {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = PeopleService::new(hyper::Client::new(), auth); +/// let mut hub = PeopleService::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `connections_list(...)`, `get(...)` and `get_batch_get(...)` /// // to build up your call. @@ -1587,6 +1590,7 @@ impl<'a, C, A> PeopleMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_people1 as people1; /// # #[test] fn egal() { @@ -1596,9 +1600,9 @@ impl<'a, C, A> PeopleMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = PeopleService::new(hyper::Client::new(), auth); +/// # let mut hub = PeopleService::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1855,6 +1859,7 @@ impl<'a, C, A> PeopleGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_people1 as people1; /// # #[test] fn egal() { @@ -1864,9 +1869,9 @@ impl<'a, C, A> PeopleGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = PeopleService::new(hyper::Client::new(), auth); +/// # let mut hub = PeopleService::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2183,6 +2188,7 @@ impl<'a, C, A> PeopleConnectionListCall<'a, C, A> where C: BorrowMut PeopleConnectionListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = PeopleService::new(hyper::Client::new(), auth); +/// # let mut hub = PeopleService::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/playmoviespartner1-cli/Cargo.toml b/gen/playmoviespartner1-cli/Cargo.toml index e0e67b429a..9f1fe9677a 100644 --- a/gen/playmoviespartner1-cli/Cargo.toml +++ b/gen/playmoviespartner1-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["playmoviespartner", "google", "cli"] [[bin]] name = "playmoviespartner1" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/playmoviespartner1/Cargo.toml b/gen/playmoviespartner1/Cargo.toml index bee626b725..c583d8b01d 100644 --- a/gen/playmoviespartner1/Cargo.toml +++ b/gen/playmoviespartner1/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["playmoviespartner", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/playmoviespartner1/README.md b/gen/playmoviespartner1/README.md index 90e3a38e81..1dec6ee416 100644 --- a/gen/playmoviespartner1/README.md +++ b/gen/playmoviespartner1/README.md @@ -70,6 +70,7 @@ google-playmoviespartner1 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_playmoviespartner1 as playmoviespartner1; use playmoviespartner1::{Result, Error}; @@ -86,9 +87,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = PlayMovies::new(hyper::Client::new(), auth); +let mut hub = PlayMovies::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! diff --git a/gen/playmoviespartner1/src/lib.rs b/gen/playmoviespartner1/src/lib.rs index bea5c10bad..56ba956315 100644 --- a/gen/playmoviespartner1/src/lib.rs +++ b/gen/playmoviespartner1/src/lib.rs @@ -70,6 +70,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_playmoviespartner1 as playmoviespartner1; //! use playmoviespartner1::{Result, Error}; @@ -87,9 +88,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = PlayMovies::new(hyper::Client::new(), auth); +//! let mut hub = PlayMovies::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! @@ -248,6 +249,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_playmoviespartner1 as playmoviespartner1; /// use playmoviespartner1::{Result, Error}; @@ -265,9 +267,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = PlayMovies::new(hyper::Client::new(), auth); +/// let mut hub = PlayMovies::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -852,6 +854,7 @@ impl ResponseResult for Order {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_playmoviespartner1 as playmoviespartner1; /// @@ -862,9 +865,9 @@ impl ResponseResult for Order {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = PlayMovies::new(hyper::Client::new(), auth); +/// let mut hub = PlayMovies::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `avails_get(...)`, `avails_list(...)`, `orders_get(...)`, `orders_list(...)`, `store_infos_country_get(...)` and `store_infos_list(...)` /// // to build up your call. @@ -1056,6 +1059,7 @@ impl<'a, C, A> AccountMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_playmoviespartner1 as playmoviespartner1; /// # #[test] fn egal() { @@ -1065,9 +1069,9 @@ impl<'a, C, A> AccountMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = PlayMovies::new(hyper::Client::new(), auth); +/// # let mut hub = PlayMovies::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1409,6 +1413,7 @@ impl<'a, C, A> AccountOrderListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_playmoviespartner1 as playmoviespartner1; /// # #[test] fn egal() { @@ -1418,9 +1423,9 @@ impl<'a, C, A> AccountOrderListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = PlayMovies::new(hyper::Client::new(), auth); +/// # let mut hub = PlayMovies::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1677,6 +1682,7 @@ impl<'a, C, A> AccountStoreInfoCountryGetCall<'a, C, A> where C: BorrowMut AccountStoreInfoCountryGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = PlayMovies::new(hyper::Client::new(), auth); +/// # let mut hub = PlayMovies::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1930,6 +1936,7 @@ impl<'a, C, A> AccountOrderGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_playmoviespartner1 as playmoviespartner1; /// # #[test] fn egal() { @@ -1939,9 +1946,9 @@ impl<'a, C, A> AccountOrderGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = PlayMovies::new(hyper::Client::new(), auth); +/// # let mut hub = PlayMovies::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2186,6 +2193,7 @@ impl<'a, C, A> AccountAvailGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_playmoviespartner1 as playmoviespartner1; /// # #[test] fn egal() { @@ -2195,9 +2203,9 @@ impl<'a, C, A> AccountAvailGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = PlayMovies::new(hyper::Client::new(), auth); +/// # let mut hub = PlayMovies::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2559,6 +2567,7 @@ impl<'a, C, A> AccountAvailListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_playmoviespartner1 as playmoviespartner1; /// # #[test] fn egal() { @@ -2568,9 +2577,9 @@ impl<'a, C, A> AccountAvailListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = PlayMovies::new(hyper::Client::new(), auth); +/// # let mut hub = PlayMovies::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/plus1-cli/Cargo.toml b/gen/plus1-cli/Cargo.toml index 3b25616af2..d5eb23aa7a 100644 --- a/gen/plus1-cli/Cargo.toml +++ b/gen/plus1-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["plus", "google", "cli"] [[bin]] name = "plus1" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/plus1/Cargo.toml b/gen/plus1/Cargo.toml index e668296e76..d3b6349661 100644 --- a/gen/plus1/Cargo.toml +++ b/gen/plus1/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["plus", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/plus1/README.md b/gen/plus1/README.md index f342928c27..1c27f9382d 100644 --- a/gen/plus1/README.md +++ b/gen/plus1/README.md @@ -76,6 +76,7 @@ google-plus1 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_plus1 as plus1; use plus1::{Result, Error}; @@ -92,9 +93,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Plus::new(hyper::Client::new(), auth); +let mut hub = Plus::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! diff --git a/gen/plus1/src/lib.rs b/gen/plus1/src/lib.rs index fa50ea8f82..301290167f 100644 --- a/gen/plus1/src/lib.rs +++ b/gen/plus1/src/lib.rs @@ -76,6 +76,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_plus1 as plus1; //! use plus1::{Result, Error}; @@ -93,9 +94,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Plus::new(hyper::Client::new(), auth); +//! let mut hub = Plus::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! @@ -269,6 +270,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_plus1 as plus1; /// use plus1::{Result, Error}; @@ -286,9 +288,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Plus::new(hyper::Client::new(), auth); +/// let mut hub = Plus::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1582,6 +1584,7 @@ impl Part for ActivityObjectActorClientSpecificActorInfo {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_plus1 as plus1; /// @@ -1592,9 +1595,9 @@ impl Part for ActivityObjectActorClientSpecificActorInfo {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Plus::new(hyper::Client::new(), auth); +/// let mut hub = Plus::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `list(...)` and `search(...)` /// // to build up your call. @@ -1682,6 +1685,7 @@ impl<'a, C, A> ActivityMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_plus1 as plus1; /// @@ -1692,9 +1696,9 @@ impl<'a, C, A> ActivityMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Plus::new(hyper::Client::new(), auth); +/// let mut hub = Plus::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -1760,6 +1764,7 @@ impl<'a, C, A> CommentMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_plus1 as plus1; /// @@ -1770,9 +1775,9 @@ impl<'a, C, A> CommentMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Plus::new(hyper::Client::new(), auth); +/// let mut hub = Plus::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `list(...)`, `list_by_activity(...)` and `search(...)` /// // to build up your call. @@ -1889,6 +1894,7 @@ impl<'a, C, A> PeopleMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_plus1 as plus1; /// # #[test] fn egal() { @@ -1898,9 +1904,9 @@ impl<'a, C, A> PeopleMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Plus::new(hyper::Client::new(), auth); +/// # let mut hub = Plus::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2151,6 +2157,7 @@ impl<'a, C, A> ActivitySearchCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_plus1 as plus1; /// # #[test] fn egal() { @@ -2160,9 +2167,9 @@ impl<'a, C, A> ActivitySearchCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Plus::new(hyper::Client::new(), auth); +/// # let mut hub = Plus::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2386,6 +2393,7 @@ impl<'a, C, A> ActivityGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_plus1 as plus1; /// # #[test] fn egal() { @@ -2395,9 +2403,9 @@ impl<'a, C, A> ActivityGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Plus::new(hyper::Client::new(), auth); +/// # let mut hub = Plus::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2657,6 +2665,7 @@ impl<'a, C, A> ActivityListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_plus1 as plus1; /// # #[test] fn egal() { @@ -2666,9 +2675,9 @@ impl<'a, C, A> ActivityListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Plus::new(hyper::Client::new(), auth); +/// # let mut hub = Plus::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2928,6 +2937,7 @@ impl<'a, C, A> CommentListCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_plus1 as plus1; /// # #[test] fn egal() { @@ -2937,9 +2947,9 @@ impl<'a, C, A> CommentListCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Plus::new(hyper::Client::new(), auth); +/// # let mut hub = Plus::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3163,6 +3173,7 @@ impl<'a, C, A> CommentGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_plus1 as plus1; /// # #[test] fn egal() { @@ -3172,9 +3183,9 @@ impl<'a, C, A> CommentGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Plus::new(hyper::Client::new(), auth); +/// # let mut hub = Plus::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3413,6 +3424,7 @@ impl<'a, C, A> PeopleSearchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_plus1 as plus1; /// # #[test] fn egal() { @@ -3422,9 +3434,9 @@ impl<'a, C, A> PeopleSearchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Plus::new(hyper::Client::new(), auth); +/// # let mut hub = Plus::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3684,6 +3696,7 @@ impl<'a, C, A> PeopleListByActivityCall<'a, C, A> where C: BorrowMut PeopleListByActivityCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Plus::new(hyper::Client::new(), auth); +/// # let mut hub = Plus::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3967,6 +3980,7 @@ impl<'a, C, A> PeopleListCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_plus1 as plus1; /// # #[test] fn egal() { @@ -3976,9 +3990,9 @@ impl<'a, C, A> PeopleListCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Plus::new(hyper::Client::new(), auth); +/// # let mut hub = Plus::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/plusdomains1-cli/Cargo.toml b/gen/plusdomains1-cli/Cargo.toml index b2f9cb23e0..8a3f9584a1 100644 --- a/gen/plusdomains1-cli/Cargo.toml +++ b/gen/plusdomains1-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["plusDomains", "google", "cli"] [[bin]] name = "plusdomains1" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/plusdomains1/Cargo.toml b/gen/plusdomains1/Cargo.toml index 7ad44fbea4..7bdf1cf6f6 100644 --- a/gen/plusdomains1/Cargo.toml +++ b/gen/plusdomains1/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["plusDomains", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/plusdomains1/README.md b/gen/plusdomains1/README.md index aeac0944a1..68f2955d47 100644 --- a/gen/plusdomains1/README.md +++ b/gen/plusdomains1/README.md @@ -91,6 +91,7 @@ google-plusdomains1 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_plusdomains1 as plusdomains1; use plusdomains1::{Result, Error}; @@ -107,9 +108,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = PlusDomains::new(hyper::Client::new(), auth); +let mut hub = PlusDomains::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! diff --git a/gen/plusdomains1/src/lib.rs b/gen/plusdomains1/src/lib.rs index b253a2c581..2a8119018e 100644 --- a/gen/plusdomains1/src/lib.rs +++ b/gen/plusdomains1/src/lib.rs @@ -91,6 +91,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_plusdomains1 as plusdomains1; //! use plusdomains1::{Result, Error}; @@ -108,9 +109,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = PlusDomains::new(hyper::Client::new(), auth); +//! let mut hub = PlusDomains::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! @@ -307,6 +308,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_plusdomains1 as plusdomains1; /// use plusdomains1::{Result, Error}; @@ -324,9 +326,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = PlusDomains::new(hyper::Client::new(), auth); +/// let mut hub = PlusDomains::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1939,6 +1941,7 @@ impl Part for ActivityActorVerification {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_plusdomains1 as plusdomains1; /// @@ -1949,9 +1952,9 @@ impl Part for ActivityActorVerification {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = PlusDomains::new(hyper::Client::new(), auth); +/// let mut hub = PlusDomains::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `add_people(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)`, `remove(...)`, `remove_people(...)` and `update(...)` /// // to build up your call. @@ -2128,6 +2131,7 @@ impl<'a, C, A> CircleMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_plusdomains1 as plusdomains1; /// @@ -2138,9 +2142,9 @@ impl<'a, C, A> CircleMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = PlusDomains::new(hyper::Client::new(), auth); +/// let mut hub = PlusDomains::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -2227,6 +2231,7 @@ impl<'a, C, A> ActivityMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_plusdomains1 as plusdomains1; /// @@ -2237,9 +2242,9 @@ impl<'a, C, A> ActivityMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = PlusDomains::new(hyper::Client::new(), auth); +/// let mut hub = PlusDomains::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `list(...)`, `list_by_activity(...)` and `list_by_circle(...)` /// // to build up your call. @@ -2347,6 +2352,7 @@ impl<'a, C, A> PeopleMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_plusdomains1 as plusdomains1; /// @@ -2357,9 +2363,9 @@ impl<'a, C, A> PeopleMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = PlusDomains::new(hyper::Client::new(), auth); +/// let mut hub = PlusDomains::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `insert(...)` /// // to build up your call. @@ -2409,6 +2415,7 @@ impl<'a, C, A> MediaMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_plusdomains1 as plusdomains1; /// @@ -2419,9 +2426,9 @@ impl<'a, C, A> MediaMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = PlusDomains::new(hyper::Client::new(), auth); +/// let mut hub = PlusDomains::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -2506,6 +2513,7 @@ impl<'a, C, A> CommentMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_plusdomains1 as plusdomains1; /// @@ -2516,9 +2524,9 @@ impl<'a, C, A> CommentMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = PlusDomains::new(hyper::Client::new(), auth); +/// let mut hub = PlusDomains::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -2574,6 +2582,7 @@ impl<'a, C, A> AudienceMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_plusdomains1 as plusdomains1; /// # #[test] fn egal() { @@ -2583,9 +2592,9 @@ impl<'a, C, A> AudienceMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = PlusDomains::new(hyper::Client::new(), auth); +/// # let mut hub = PlusDomains::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2828,6 +2837,7 @@ impl<'a, C, A> CircleRemovePeopleCall<'a, C, A> where C: BorrowMut CircleRemovePeopleCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = PlusDomains::new(hyper::Client::new(), auth); +/// # let mut hub = PlusDomains::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3094,6 +3104,7 @@ impl<'a, C, A> CircleInsertCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_plusdomains1 as plusdomains1; /// # #[test] fn egal() { @@ -3103,9 +3114,9 @@ impl<'a, C, A> CircleInsertCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = PlusDomains::new(hyper::Client::new(), auth); +/// # let mut hub = PlusDomains::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3359,6 +3370,7 @@ impl<'a, C, A> CircleAddPeopleCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_plusdomains1 as plusdomains1; /// # #[test] fn egal() { @@ -3368,9 +3380,9 @@ impl<'a, C, A> CircleAddPeopleCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = PlusDomains::new(hyper::Client::new(), auth); +/// # let mut hub = PlusDomains::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3594,6 +3606,7 @@ impl<'a, C, A> CircleGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_plusdomains1 as plusdomains1; /// # #[test] fn egal() { @@ -3603,9 +3616,9 @@ impl<'a, C, A> CircleGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = PlusDomains::new(hyper::Client::new(), auth); +/// # let mut hub = PlusDomains::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3853,6 +3866,7 @@ impl<'a, C, A> CircleListCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_plusdomains1 as plusdomains1; /// use plusdomains1::Circle; @@ -3863,9 +3877,9 @@ impl<'a, C, A> CircleListCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = PlusDomains::new(hyper::Client::new(), auth); +/// # let mut hub = PlusDomains::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4119,6 +4133,7 @@ impl<'a, C, A> CircleUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_plusdomains1 as plusdomains1; /// use plusdomains1::Circle; @@ -4129,9 +4144,9 @@ impl<'a, C, A> CircleUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = PlusDomains::new(hyper::Client::new(), auth); +/// # let mut hub = PlusDomains::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4385,6 +4400,7 @@ impl<'a, C, A> CirclePatchCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_plusdomains1 as plusdomains1; /// # #[test] fn egal() { @@ -4394,9 +4410,9 @@ impl<'a, C, A> CirclePatchCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = PlusDomains::new(hyper::Client::new(), auth); +/// # let mut hub = PlusDomains::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4609,6 +4625,7 @@ impl<'a, C, A> CircleRemoveCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_plusdomains1 as plusdomains1; /// use plusdomains1::Activity; @@ -4619,9 +4636,9 @@ impl<'a, C, A> CircleRemoveCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = PlusDomains::new(hyper::Client::new(), auth); +/// # let mut hub = PlusDomains::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4887,6 +4904,7 @@ impl<'a, C, A> ActivityInsertCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_plusdomains1 as plusdomains1; /// # #[test] fn egal() { @@ -4896,9 +4914,9 @@ impl<'a, C, A> ActivityInsertCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = PlusDomains::new(hyper::Client::new(), auth); +/// # let mut hub = PlusDomains::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5122,6 +5140,7 @@ impl<'a, C, A> ActivityGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_plusdomains1 as plusdomains1; /// # #[test] fn egal() { @@ -5131,9 +5150,9 @@ impl<'a, C, A> ActivityGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = PlusDomains::new(hyper::Client::new(), auth); +/// # let mut hub = PlusDomains::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5393,6 +5412,7 @@ impl<'a, C, A> ActivityListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_plusdomains1 as plusdomains1; /// # #[test] fn egal() { @@ -5402,9 +5422,9 @@ impl<'a, C, A> ActivityListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = PlusDomains::new(hyper::Client::new(), auth); +/// # let mut hub = PlusDomains::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5652,6 +5672,7 @@ impl<'a, C, A> PeopleListByCircleCall<'a, C, A> where C: BorrowMut PeopleListByCircleCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = PlusDomains::new(hyper::Client::new(), auth); +/// # let mut hub = PlusDomains::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5935,6 +5956,7 @@ impl<'a, C, A> PeopleListCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_plusdomains1 as plusdomains1; /// # #[test] fn egal() { @@ -5944,9 +5966,9 @@ impl<'a, C, A> PeopleListCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = PlusDomains::new(hyper::Client::new(), auth); +/// # let mut hub = PlusDomains::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6170,6 +6192,7 @@ impl<'a, C, A> PeopleGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_plusdomains1 as plusdomains1; /// # #[test] fn egal() { @@ -6179,9 +6202,9 @@ impl<'a, C, A> PeopleGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = PlusDomains::new(hyper::Client::new(), auth); +/// # let mut hub = PlusDomains::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6441,6 +6464,7 @@ impl<'a, C, A> PeopleListByActivityCall<'a, C, A> where C: BorrowMut PeopleListByActivityCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = PlusDomains::new(hyper::Client::new(), auth); +/// # let mut hub = PlusDomains::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6828,6 +6852,7 @@ impl<'a, C, A> MediaInsertCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_plusdomains1 as plusdomains1; /// use plusdomains1::Comment; @@ -6838,9 +6863,9 @@ impl<'a, C, A> MediaInsertCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = PlusDomains::new(hyper::Client::new(), auth); +/// # let mut hub = PlusDomains::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7094,6 +7119,7 @@ impl<'a, C, A> CommentInsertCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_plusdomains1 as plusdomains1; /// # #[test] fn egal() { @@ -7103,9 +7129,9 @@ impl<'a, C, A> CommentInsertCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = PlusDomains::new(hyper::Client::new(), auth); +/// # let mut hub = PlusDomains::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7365,6 +7391,7 @@ impl<'a, C, A> CommentListCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_plusdomains1 as plusdomains1; /// # #[test] fn egal() { @@ -7374,9 +7401,9 @@ impl<'a, C, A> CommentListCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = PlusDomains::new(hyper::Client::new(), auth); +/// # let mut hub = PlusDomains::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7600,6 +7627,7 @@ impl<'a, C, A> CommentGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_plusdomains1 as plusdomains1; /// # #[test] fn egal() { @@ -7609,9 +7637,9 @@ impl<'a, C, A> CommentGetCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = PlusDomains::new(hyper::Client::new(), auth); +/// # let mut hub = PlusDomains::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/prediction1d6-cli/Cargo.toml b/gen/prediction1d6-cli/Cargo.toml index 2f76f93460..5de9a21809 100644 --- a/gen/prediction1d6-cli/Cargo.toml +++ b/gen/prediction1d6-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["prediction", "google", "cli"] [[bin]] name = "prediction1d6" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/prediction1d6/Cargo.toml b/gen/prediction1d6/Cargo.toml index 430392d7ff..ff7afd080a 100644 --- a/gen/prediction1d6/Cargo.toml +++ b/gen/prediction1d6/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["prediction", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/prediction1d6/README.md b/gen/prediction1d6/README.md index 7197922f7d..17736e34d5 100644 --- a/gen/prediction1d6/README.md +++ b/gen/prediction1d6/README.md @@ -74,6 +74,7 @@ google-prediction1d6 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_prediction1d6 as prediction1d6; use prediction1d6::Update; @@ -91,9 +92,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Prediction::new(hyper::Client::new(), auth); +let mut hub = Prediction::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! diff --git a/gen/prediction1d6/src/lib.rs b/gen/prediction1d6/src/lib.rs index fb9c3d6335..d520a1003d 100644 --- a/gen/prediction1d6/src/lib.rs +++ b/gen/prediction1d6/src/lib.rs @@ -74,6 +74,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_prediction1d6 as prediction1d6; //! use prediction1d6::Update; @@ -92,9 +93,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Prediction::new(hyper::Client::new(), auth); +//! let mut hub = Prediction::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! @@ -274,6 +275,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_prediction1d6 as prediction1d6; /// use prediction1d6::Update; @@ -292,9 +294,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Prediction::new(hyper::Client::new(), auth); +/// let mut hub = Prediction::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -862,6 +864,7 @@ impl Part for OutputOutputMulti {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_prediction1d6 as prediction1d6; /// @@ -872,9 +875,9 @@ impl Part for OutputOutputMulti {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Prediction::new(hyper::Client::new(), auth); +/// let mut hub = Prediction::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `analyze(...)`, `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `predict(...)` and `update(...)` /// // to build up your call. @@ -1040,6 +1043,7 @@ impl<'a, C, A> TrainedmodelMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_prediction1d6 as prediction1d6; /// @@ -1050,9 +1054,9 @@ impl<'a, C, A> TrainedmodelMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Prediction::new(hyper::Client::new(), auth); +/// let mut hub = Prediction::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `predict(...)` /// // to build up your call. @@ -1110,6 +1114,7 @@ impl<'a, C, A> HostedmodelMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_prediction1d6 as prediction1d6; /// # #[test] fn egal() { @@ -1119,9 +1124,9 @@ impl<'a, C, A> HostedmodelMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Prediction::new(hyper::Client::new(), auth); +/// # let mut hub = Prediction::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1357,6 +1362,7 @@ impl<'a, C, A> TrainedmodelGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_prediction1d6 as prediction1d6; /// use prediction1d6::Update; @@ -1367,9 +1373,9 @@ impl<'a, C, A> TrainedmodelGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Prediction::new(hyper::Client::new(), auth); +/// # let mut hub = Prediction::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1635,6 +1641,7 @@ impl<'a, C, A> TrainedmodelUpdateCall<'a, C, A> where C: BorrowMut TrainedmodelUpdateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Prediction::new(hyper::Client::new(), auth); +/// # let mut hub = Prediction::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1894,6 +1901,7 @@ impl<'a, C, A> TrainedmodelListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_prediction1d6 as prediction1d6; /// # #[test] fn egal() { @@ -1903,9 +1911,9 @@ impl<'a, C, A> TrainedmodelListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Prediction::new(hyper::Client::new(), auth); +/// # let mut hub = Prediction::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2130,6 +2138,7 @@ impl<'a, C, A> TrainedmodelDeleteCall<'a, C, A> where C: BorrowMut TrainedmodelDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Prediction::new(hyper::Client::new(), auth); +/// # let mut hub = Prediction::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2396,6 +2405,7 @@ impl<'a, C, A> TrainedmodelInsertCall<'a, C, A> where C: BorrowMut TrainedmodelInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Prediction::new(hyper::Client::new(), auth); +/// # let mut hub = Prediction::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2643,6 +2653,7 @@ impl<'a, C, A> TrainedmodelAnalyzeCall<'a, C, A> where C: BorrowMut TrainedmodelAnalyzeCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Prediction::new(hyper::Client::new(), auth); +/// # let mut hub = Prediction::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2921,6 +2932,7 @@ impl<'a, C, A> TrainedmodelPredictCall<'a, C, A> where C: BorrowMut TrainedmodelPredictCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Prediction::new(hyper::Client::new(), auth); +/// # let mut hub = Prediction::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/proximitybeacon1_beta1-cli/Cargo.toml b/gen/proximitybeacon1_beta1-cli/Cargo.toml index c14f9505d2..87d176273b 100644 --- a/gen/proximitybeacon1_beta1-cli/Cargo.toml +++ b/gen/proximitybeacon1_beta1-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["proximitybeacon", "google", "cli"] [[bin]] name = "proximitybeacon1-beta1" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/proximitybeacon1_beta1/Cargo.toml b/gen/proximitybeacon1_beta1/Cargo.toml index af137f9ecd..b73a4f9264 100644 --- a/gen/proximitybeacon1_beta1/Cargo.toml +++ b/gen/proximitybeacon1_beta1/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["proximitybeacon", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/proximitybeacon1_beta1/README.md b/gen/proximitybeacon1_beta1/README.md index 10b694786f..c6f2f8db76 100644 --- a/gen/proximitybeacon1_beta1/README.md +++ b/gen/proximitybeacon1_beta1/README.md @@ -89,6 +89,7 @@ google-proximitybeacon1_beta1 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_proximitybeacon1_beta1 as proximitybeacon1_beta1; use proximitybeacon1_beta1::{Result, Error}; @@ -105,9 +106,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Proximitybeacon::new(hyper::Client::new(), auth); +let mut hub = Proximitybeacon::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! diff --git a/gen/proximitybeacon1_beta1/src/lib.rs b/gen/proximitybeacon1_beta1/src/lib.rs index 1b7bc20df1..73554bba68 100644 --- a/gen/proximitybeacon1_beta1/src/lib.rs +++ b/gen/proximitybeacon1_beta1/src/lib.rs @@ -89,6 +89,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_proximitybeacon1_beta1 as proximitybeacon1_beta1; //! use proximitybeacon1_beta1::{Result, Error}; @@ -106,9 +107,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Proximitybeacon::new(hyper::Client::new(), auth); +//! let mut hub = Proximitybeacon::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! @@ -271,6 +272,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_proximitybeacon1_beta1 as proximitybeacon1_beta1; /// use proximitybeacon1_beta1::{Result, Error}; @@ -288,9 +290,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Proximitybeacon::new(hyper::Client::new(), auth); +/// let mut hub = Proximitybeacon::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1044,6 +1046,7 @@ impl ResponseResult for DeleteAttachmentsResponse {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_proximitybeacon1_beta1 as proximitybeacon1_beta1; /// @@ -1054,9 +1057,9 @@ impl ResponseResult for DeleteAttachmentsResponse {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Proximitybeacon::new(hyper::Client::new(), auth); +/// let mut hub = Proximitybeacon::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `activate(...)`, `attachments_batch_delete(...)`, `attachments_create(...)`, `attachments_delete(...)`, `attachments_list(...)`, `deactivate(...)`, `decommission(...)`, `delete(...)`, `diagnostics_list(...)`, `get(...)`, `list(...)`, `register(...)` and `update(...)` /// // to build up your call. @@ -1491,6 +1494,7 @@ impl<'a, C, A> BeaconMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_proximitybeacon1_beta1 as proximitybeacon1_beta1; /// @@ -1501,9 +1505,9 @@ impl<'a, C, A> BeaconMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Proximitybeacon::new(hyper::Client::new(), auth); +/// let mut hub = Proximitybeacon::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `getforobserved(...)` /// // to build up your call. @@ -1551,6 +1555,7 @@ impl<'a, C, A> BeaconinfoMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_proximitybeacon1_beta1 as proximitybeacon1_beta1; /// @@ -1561,9 +1566,9 @@ impl<'a, C, A> BeaconinfoMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Proximitybeacon::new(hyper::Client::new(), auth); +/// let mut hub = Proximitybeacon::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get_eidparams(...)` /// // to build up your call. @@ -1610,6 +1615,7 @@ impl<'a, C, A> MethodMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_proximitybeacon1_beta1 as proximitybeacon1_beta1; /// @@ -1620,9 +1626,9 @@ impl<'a, C, A> MethodMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Proximitybeacon::new(hyper::Client::new(), auth); +/// let mut hub = Proximitybeacon::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` and `update(...)` /// // to build up your call. @@ -1710,6 +1716,7 @@ impl<'a, C, A> NamespaceMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_proximitybeacon1_beta1 as proximitybeacon1_beta1; /// # #[test] fn egal() { @@ -1719,9 +1726,9 @@ impl<'a, C, A> NamespaceMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Proximitybeacon::new(hyper::Client::new(), auth); +/// # let mut hub = Proximitybeacon::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2002,6 +2009,7 @@ impl<'a, C, A> BeaconAttachmentListCall<'a, C, A> where C: BorrowMut BeaconAttachmentListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Proximitybeacon::new(hyper::Client::new(), auth); +/// # let mut hub = Proximitybeacon::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2283,6 +2291,7 @@ impl<'a, C, A> BeaconGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_proximitybeacon1_beta1 as proximitybeacon1_beta1; /// use proximitybeacon1_beta1::BeaconAttachment; @@ -2293,9 +2302,9 @@ impl<'a, C, A> BeaconGetCall<'a, C, A> where C: BorrowMut, A: oau /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Proximitybeacon::new(hyper::Client::new(), auth); +/// # let mut hub = Proximitybeacon::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2587,6 +2596,7 @@ impl<'a, C, A> BeaconAttachmentCreateCall<'a, C, A> where C: BorrowMut BeaconAttachmentCreateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Proximitybeacon::new(hyper::Client::new(), auth); +/// # let mut hub = Proximitybeacon::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2860,6 +2870,7 @@ impl<'a, C, A> BeaconDecommissionCall<'a, C, A> where C: BorrowMut BeaconDecommissionCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Proximitybeacon::new(hyper::Client::new(), auth); +/// # let mut hub = Proximitybeacon::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3132,6 +3143,7 @@ impl<'a, C, A> BeaconActivateCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_proximitybeacon1_beta1 as proximitybeacon1_beta1; /// # #[test] fn egal() { @@ -3141,9 +3153,9 @@ impl<'a, C, A> BeaconActivateCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Proximitybeacon::new(hyper::Client::new(), auth); +/// # let mut hub = Proximitybeacon::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3467,6 +3479,7 @@ impl<'a, C, A> BeaconListCall<'a, C, A> where C: BorrowMut, A: oa /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_proximitybeacon1_beta1 as proximitybeacon1_beta1; /// use proximitybeacon1_beta1::Beacon; @@ -3477,9 +3490,9 @@ impl<'a, C, A> BeaconListCall<'a, C, A> where C: BorrowMut, A: oa /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Proximitybeacon::new(hyper::Client::new(), auth); +/// # let mut hub = Proximitybeacon::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3772,6 +3785,7 @@ impl<'a, C, A> BeaconUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_proximitybeacon1_beta1 as proximitybeacon1_beta1; /// # #[test] fn egal() { @@ -3781,9 +3795,9 @@ impl<'a, C, A> BeaconUpdateCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Proximitybeacon::new(hyper::Client::new(), auth); +/// # let mut hub = Proximitybeacon::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4043,6 +4057,7 @@ impl<'a, C, A> BeaconAttachmentDeleteCall<'a, C, A> where C: BorrowMut BeaconAttachmentDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Proximitybeacon::new(hyper::Client::new(), auth); +/// # let mut hub = Proximitybeacon::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4314,6 +4329,7 @@ impl<'a, C, A> BeaconDeactivateCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_proximitybeacon1_beta1 as proximitybeacon1_beta1; /// use proximitybeacon1_beta1::Beacon; @@ -4324,9 +4340,9 @@ impl<'a, C, A> BeaconDeactivateCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Proximitybeacon::new(hyper::Client::new(), auth); +/// # let mut hub = Proximitybeacon::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4574,6 +4590,7 @@ impl<'a, C, A> BeaconRegisterCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_proximitybeacon1_beta1 as proximitybeacon1_beta1; /// # #[test] fn egal() { @@ -4583,9 +4600,9 @@ impl<'a, C, A> BeaconRegisterCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Proximitybeacon::new(hyper::Client::new(), auth); +/// # let mut hub = Proximitybeacon::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4845,6 +4862,7 @@ impl<'a, C, A> BeaconDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_proximitybeacon1_beta1 as proximitybeacon1_beta1; /// # #[test] fn egal() { @@ -4854,9 +4872,9 @@ impl<'a, C, A> BeaconDeleteCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Proximitybeacon::new(hyper::Client::new(), auth); +/// # let mut hub = Proximitybeacon::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5153,6 +5171,7 @@ impl<'a, C, A> BeaconDiagnosticListCall<'a, C, A> where C: BorrowMut BeaconDiagnosticListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Proximitybeacon::new(hyper::Client::new(), auth); +/// # let mut hub = Proximitybeacon::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5439,6 +5458,7 @@ impl<'a, C, A> BeaconAttachmentBatchDeleteCall<'a, C, A> where C: BorrowMut BeaconAttachmentBatchDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Proximitybeacon::new(hyper::Client::new(), auth); +/// # let mut hub = Proximitybeacon::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5662,6 +5682,7 @@ impl<'a, C, A> BeaconinfoGetforobservedCall<'a, C, A> where C: BorrowMut BeaconinfoGetforobservedCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Proximitybeacon::new(hyper::Client::new(), auth); +/// # let mut hub = Proximitybeacon::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5876,6 +5897,7 @@ impl<'a, C, A> MethodGetEidparamCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_proximitybeacon1_beta1 as proximitybeacon1_beta1; /// # #[test] fn egal() { @@ -5885,9 +5907,9 @@ impl<'a, C, A> MethodGetEidparamCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Proximitybeacon::new(hyper::Client::new(), auth); +/// # let mut hub = Proximitybeacon::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6098,6 +6120,7 @@ impl<'a, C, A> NamespaceListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_proximitybeacon1_beta1 as proximitybeacon1_beta1; /// use proximitybeacon1_beta1::Namespace; @@ -6108,9 +6131,9 @@ impl<'a, C, A> NamespaceListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Proximitybeacon::new(hyper::Client::new(), auth); +/// # let mut hub = Proximitybeacon::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/pubsub1-cli/Cargo.toml b/gen/pubsub1-cli/Cargo.toml index c97d86474a..857715da82 100644 --- a/gen/pubsub1-cli/Cargo.toml +++ b/gen/pubsub1-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["pubsub", "google", "cli"] [[bin]] name = "pubsub1" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/pubsub1/Cargo.toml b/gen/pubsub1/Cargo.toml index 2dba53ffd0..0e09226429 100644 --- a/gen/pubsub1/Cargo.toml +++ b/gen/pubsub1/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["pubsub", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/pubsub1/README.md b/gen/pubsub1/README.md index 36218ab8db..ca508b0faf 100644 --- a/gen/pubsub1/README.md +++ b/gen/pubsub1/README.md @@ -75,6 +75,7 @@ google-pubsub1 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_pubsub1 as pubsub1; use pubsub1::SetIamPolicyRequest; @@ -92,9 +93,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Pubsub::new(hyper::Client::new(), auth); +let mut hub = Pubsub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! diff --git a/gen/pubsub1/src/lib.rs b/gen/pubsub1/src/lib.rs index 2ee7fe5cbb..b16bdfcc82 100644 --- a/gen/pubsub1/src/lib.rs +++ b/gen/pubsub1/src/lib.rs @@ -75,6 +75,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_pubsub1 as pubsub1; //! use pubsub1::SetIamPolicyRequest; @@ -93,9 +94,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Pubsub::new(hyper::Client::new(), auth); +//! let mut hub = Pubsub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! @@ -263,6 +264,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_pubsub1 as pubsub1; /// use pubsub1::SetIamPolicyRequest; @@ -281,9 +283,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Pubsub::new(hyper::Client::new(), auth); +/// let mut hub = Pubsub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -974,6 +976,7 @@ impl ResponseResult for Subscription {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_pubsub1 as pubsub1; /// @@ -984,9 +987,9 @@ impl ResponseResult for Subscription {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Pubsub::new(hyper::Client::new(), auth); +/// let mut hub = Pubsub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `snapshots_get_iam_policy(...)`, `snapshots_set_iam_policy(...)`, `snapshots_test_iam_permissions(...)`, `subscriptions_acknowledge(...)`, `subscriptions_create(...)`, `subscriptions_delete(...)`, `subscriptions_get(...)`, `subscriptions_get_iam_policy(...)`, `subscriptions_list(...)`, `subscriptions_modify_ack_deadline(...)`, `subscriptions_modify_push_config(...)`, `subscriptions_pull(...)`, `subscriptions_set_iam_policy(...)`, `subscriptions_test_iam_permissions(...)`, `topics_create(...)`, `topics_delete(...)`, `topics_get(...)`, `topics_get_iam_policy(...)`, `topics_list(...)`, `topics_publish(...)`, `topics_set_iam_policy(...)`, `topics_subscriptions_list(...)` and `topics_test_iam_permissions(...)` /// // to build up your call. @@ -1541,6 +1544,7 @@ impl<'a, C, A> ProjectMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_pubsub1 as pubsub1; /// # #[test] fn egal() { @@ -1550,9 +1554,9 @@ impl<'a, C, A> ProjectMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Pubsub::new(hyper::Client::new(), auth); +/// # let mut hub = Pubsub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1813,6 +1817,7 @@ impl<'a, C, A> ProjectSubscriptionListCall<'a, C, A> where C: BorrowMut ProjectSubscriptionListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Pubsub::new(hyper::Client::new(), auth); +/// # let mut hub = Pubsub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2100,6 +2105,7 @@ impl<'a, C, A> ProjectTopicCreateCall<'a, C, A> where C: BorrowMut ProjectTopicCreateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Pubsub::new(hyper::Client::new(), auth); +/// # let mut hub = Pubsub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2383,6 +2389,7 @@ impl<'a, C, A> ProjectTopicTestIamPermissionCall<'a, C, A> where C: BorrowMut ProjectTopicTestIamPermissionCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Pubsub::new(hyper::Client::new(), auth); +/// # let mut hub = Pubsub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2666,6 +2673,7 @@ impl<'a, C, A> ProjectSubscriptionTestIamPermissionCall<'a, C, A> where C: Borro /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_pubsub1 as pubsub1; /// use pubsub1::TestIamPermissionsRequest; @@ -2676,9 +2684,9 @@ impl<'a, C, A> ProjectSubscriptionTestIamPermissionCall<'a, C, A> where C: Borro /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Pubsub::new(hyper::Client::new(), auth); +/// # let mut hub = Pubsub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2946,6 +2954,7 @@ impl<'a, C, A> ProjectSnapshotTestIamPermissionCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_pubsub1 as pubsub1; /// use pubsub1::PullRequest; @@ -2956,9 +2965,9 @@ impl<'a, C, A> ProjectSnapshotTestIamPermissionCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Pubsub::new(hyper::Client::new(), auth); +/// # let mut hub = Pubsub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3228,6 +3237,7 @@ impl<'a, C, A> ProjectSubscriptionPullCall<'a, C, A> where C: BorrowMut ProjectSubscriptionPullCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Pubsub::new(hyper::Client::new(), auth); +/// # let mut hub = Pubsub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3507,6 +3517,7 @@ impl<'a, C, A> ProjectSubscriptionModifyPushConfigCall<'a, C, A> where C: Borrow /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_pubsub1 as pubsub1; /// # #[test] fn egal() { @@ -3516,9 +3527,9 @@ impl<'a, C, A> ProjectSubscriptionModifyPushConfigCall<'a, C, A> where C: Borrow /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Pubsub::new(hyper::Client::new(), auth); +/// # let mut hub = Pubsub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3757,6 +3768,7 @@ impl<'a, C, A> ProjectSnapshotGetIamPolicyCall<'a, C, A> where C: BorrowMut ProjectSnapshotGetIamPolicyCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Pubsub::new(hyper::Client::new(), auth); +/// # let mut hub = Pubsub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4036,6 +4048,7 @@ impl<'a, C, A> ProjectSubscriptionModifyAckDeadlineCall<'a, C, A> where C: Borro /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_pubsub1 as pubsub1; /// # #[test] fn egal() { @@ -4045,9 +4058,9 @@ impl<'a, C, A> ProjectSubscriptionModifyAckDeadlineCall<'a, C, A> where C: Borro /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Pubsub::new(hyper::Client::new(), auth); +/// # let mut hub = Pubsub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4288,6 +4301,7 @@ impl<'a, C, A> ProjectTopicGetIamPolicyCall<'a, C, A> where C: BorrowMut ProjectTopicGetIamPolicyCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Pubsub::new(hyper::Client::new(), auth); +/// # let mut hub = Pubsub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4569,6 +4583,7 @@ impl<'a, C, A> ProjectSubscriptionAcknowledgeCall<'a, C, A> where C: BorrowMut ProjectSubscriptionAcknowledgeCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Pubsub::new(hyper::Client::new(), auth); +/// # let mut hub = Pubsub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4817,6 +4832,7 @@ impl<'a, C, A> ProjectSubscriptionDeleteCall<'a, C, A> where C: BorrowMut ProjectSubscriptionDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Pubsub::new(hyper::Client::new(), auth); +/// # let mut hub = Pubsub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5063,6 +5079,7 @@ impl<'a, C, A> ProjectSubscriptionGetIamPolicyCall<'a, C, A> where C: BorrowMut< /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_pubsub1 as pubsub1; /// # #[test] fn egal() { @@ -5072,9 +5089,9 @@ impl<'a, C, A> ProjectSubscriptionGetIamPolicyCall<'a, C, A> where C: BorrowMut< /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Pubsub::new(hyper::Client::new(), auth); +/// # let mut hub = Pubsub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5337,6 +5354,7 @@ impl<'a, C, A> ProjectTopicListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_pubsub1 as pubsub1; /// use pubsub1::PublishRequest; @@ -5347,9 +5365,9 @@ impl<'a, C, A> ProjectTopicListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Pubsub::new(hyper::Client::new(), auth); +/// # let mut hub = Pubsub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5614,6 +5632,7 @@ impl<'a, C, A> ProjectTopicPublishCall<'a, C, A> where C: BorrowMut ProjectTopicPublishCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Pubsub::new(hyper::Client::new(), auth); +/// # let mut hub = Pubsub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5861,6 +5880,7 @@ impl<'a, C, A> ProjectTopicGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_pubsub1 as pubsub1; /// use pubsub1::SetIamPolicyRequest; @@ -5871,9 +5891,9 @@ impl<'a, C, A> ProjectTopicGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Pubsub::new(hyper::Client::new(), auth); +/// # let mut hub = Pubsub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6142,6 +6162,7 @@ impl<'a, C, A> ProjectTopicSetIamPolicyCall<'a, C, A> where C: BorrowMut ProjectTopicSetIamPolicyCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Pubsub::new(hyper::Client::new(), auth); +/// # let mut hub = Pubsub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6397,6 +6418,7 @@ impl<'a, C, A> ProjectTopicDeleteCall<'a, C, A> where C: BorrowMut ProjectTopicDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Pubsub::new(hyper::Client::new(), auth); +/// # let mut hub = Pubsub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6679,6 +6701,7 @@ impl<'a, C, A> ProjectSubscriptionCreateCall<'a, C, A> where C: BorrowMut ProjectSubscriptionCreateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Pubsub::new(hyper::Client::new(), auth); +/// # let mut hub = Pubsub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6956,6 +6979,7 @@ impl<'a, C, A> ProjectSnapshotSetIamPolicyCall<'a, C, A> where C: BorrowMut ProjectSnapshotSetIamPolicyCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Pubsub::new(hyper::Client::new(), auth); +/// # let mut hub = Pubsub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7202,6 +7226,7 @@ impl<'a, C, A> ProjectSubscriptionGetCall<'a, C, A> where C: BorrowMut ProjectSubscriptionGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Pubsub::new(hyper::Client::new(), auth); +/// # let mut hub = Pubsub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7475,6 +7500,7 @@ impl<'a, C, A> ProjectTopicSubscriptionListCall<'a, C, A> where C: BorrowMut ProjectTopicSubscriptionListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Pubsub::new(hyper::Client::new(), auth); +/// # let mut hub = Pubsub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/pubsub1_beta2-cli/Cargo.toml b/gen/pubsub1_beta2-cli/Cargo.toml index 15712d90eb..e27c4730d1 100644 --- a/gen/pubsub1_beta2-cli/Cargo.toml +++ b/gen/pubsub1_beta2-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["pubsub", "google", "cli"] [[bin]] name = "pubsub1-beta2" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/pubsub1_beta2/Cargo.toml b/gen/pubsub1_beta2/Cargo.toml index 6696f248e9..27b14e0fe2 100644 --- a/gen/pubsub1_beta2/Cargo.toml +++ b/gen/pubsub1_beta2/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["pubsub", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/pubsub1_beta2/README.md b/gen/pubsub1_beta2/README.md index 6d67bcd53a..dae9675d98 100644 --- a/gen/pubsub1_beta2/README.md +++ b/gen/pubsub1_beta2/README.md @@ -74,6 +74,7 @@ google-pubsub1_beta2 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_pubsub1_beta2 as pubsub1_beta2; use pubsub1_beta2::AcknowledgeRequest; @@ -91,9 +92,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Pubsub::new(hyper::Client::new(), auth); +let mut hub = Pubsub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! diff --git a/gen/pubsub1_beta2/src/lib.rs b/gen/pubsub1_beta2/src/lib.rs index 22b583dd91..afe5f11eeb 100644 --- a/gen/pubsub1_beta2/src/lib.rs +++ b/gen/pubsub1_beta2/src/lib.rs @@ -74,6 +74,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_pubsub1_beta2 as pubsub1_beta2; //! use pubsub1_beta2::AcknowledgeRequest; @@ -92,9 +93,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Pubsub::new(hyper::Client::new(), auth); +//! let mut hub = Pubsub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! @@ -262,6 +263,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_pubsub1_beta2 as pubsub1_beta2; /// use pubsub1_beta2::AcknowledgeRequest; @@ -280,9 +282,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Pubsub::new(hyper::Client::new(), auth); +/// let mut hub = Pubsub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -969,6 +971,7 @@ impl ResponseResult for Subscription {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_pubsub1_beta2 as pubsub1_beta2; /// @@ -979,9 +982,9 @@ impl ResponseResult for Subscription {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Pubsub::new(hyper::Client::new(), auth); +/// let mut hub = Pubsub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `subscriptions_acknowledge(...)`, `subscriptions_create(...)`, `subscriptions_delete(...)`, `subscriptions_get(...)`, `subscriptions_get_iam_policy(...)`, `subscriptions_list(...)`, `subscriptions_modify_ack_deadline(...)`, `subscriptions_modify_push_config(...)`, `subscriptions_pull(...)`, `subscriptions_set_iam_policy(...)`, `subscriptions_test_iam_permissions(...)`, `topics_create(...)`, `topics_delete(...)`, `topics_get(...)`, `topics_get_iam_policy(...)`, `topics_list(...)`, `topics_publish(...)`, `topics_set_iam_policy(...)`, `topics_subscriptions_list(...)` and `topics_test_iam_permissions(...)` /// // to build up your call. @@ -1454,6 +1457,7 @@ impl<'a, C, A> ProjectMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_pubsub1_beta2 as pubsub1_beta2; /// # #[test] fn egal() { @@ -1463,9 +1467,9 @@ impl<'a, C, A> ProjectMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Pubsub::new(hyper::Client::new(), auth); +/// # let mut hub = Pubsub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1728,6 +1732,7 @@ impl<'a, C, A> ProjectTopicListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_pubsub1_beta2 as pubsub1_beta2; /// use pubsub1_beta2::PullRequest; @@ -1738,9 +1743,9 @@ impl<'a, C, A> ProjectTopicListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Pubsub::new(hyper::Client::new(), auth); +/// # let mut hub = Pubsub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2004,6 +2009,7 @@ impl<'a, C, A> ProjectSubscriptionPullCall<'a, C, A> where C: BorrowMut ProjectSubscriptionPullCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Pubsub::new(hyper::Client::new(), auth); +/// # let mut hub = Pubsub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2291,6 +2297,7 @@ impl<'a, C, A> ProjectTopicCreateCall<'a, C, A> where C: BorrowMut ProjectTopicCreateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Pubsub::new(hyper::Client::new(), auth); +/// # let mut hub = Pubsub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2573,6 +2580,7 @@ impl<'a, C, A> ProjectTopicTestIamPermissionCall<'a, C, A> where C: BorrowMut ProjectTopicTestIamPermissionCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Pubsub::new(hyper::Client::new(), auth); +/// # let mut hub = Pubsub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2851,6 +2859,7 @@ impl<'a, C, A> ProjectSubscriptionModifyPushConfigCall<'a, C, A> where C: Borrow /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_pubsub1_beta2 as pubsub1_beta2; /// use pubsub1_beta2::PublishRequest; @@ -2861,9 +2870,9 @@ impl<'a, C, A> ProjectSubscriptionModifyPushConfigCall<'a, C, A> where C: Borrow /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Pubsub::new(hyper::Client::new(), auth); +/// # let mut hub = Pubsub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3127,6 +3136,7 @@ impl<'a, C, A> ProjectTopicPublishCall<'a, C, A> where C: BorrowMut ProjectTopicPublishCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Pubsub::new(hyper::Client::new(), auth); +/// # let mut hub = Pubsub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3374,6 +3384,7 @@ impl<'a, C, A> ProjectTopicGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_pubsub1_beta2 as pubsub1_beta2; /// # #[test] fn egal() { @@ -3383,9 +3394,9 @@ impl<'a, C, A> ProjectTopicGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Pubsub::new(hyper::Client::new(), auth); +/// # let mut hub = Pubsub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3624,6 +3635,7 @@ impl<'a, C, A> ProjectTopicGetIamPolicyCall<'a, C, A> where C: BorrowMut ProjectTopicGetIamPolicyCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Pubsub::new(hyper::Client::new(), auth); +/// # let mut hub = Pubsub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3904,6 +3916,7 @@ impl<'a, C, A> ProjectSubscriptionModifyAckDeadlineCall<'a, C, A> where C: Borro /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_pubsub1_beta2 as pubsub1_beta2; /// # #[test] fn egal() { @@ -3913,9 +3926,9 @@ impl<'a, C, A> ProjectSubscriptionModifyAckDeadlineCall<'a, C, A> where C: Borro /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Pubsub::new(hyper::Client::new(), auth); +/// # let mut hub = Pubsub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4150,6 +4163,7 @@ impl<'a, C, A> ProjectSubscriptionDeleteCall<'a, C, A> where C: BorrowMut ProjectSubscriptionDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Pubsub::new(hyper::Client::new(), auth); +/// # let mut hub = Pubsub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4433,6 +4447,7 @@ impl<'a, C, A> ProjectTopicSetIamPolicyCall<'a, C, A> where C: BorrowMut ProjectTopicSetIamPolicyCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Pubsub::new(hyper::Client::new(), auth); +/// # let mut hub = Pubsub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4720,6 +4735,7 @@ impl<'a, C, A> ProjectSubscriptionCreateCall<'a, C, A> where C: BorrowMut ProjectSubscriptionCreateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Pubsub::new(hyper::Client::new(), auth); +/// # let mut hub = Pubsub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4998,6 +5014,7 @@ impl<'a, C, A> ProjectSubscriptionAcknowledgeCall<'a, C, A> where C: BorrowMut ProjectSubscriptionAcknowledgeCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Pubsub::new(hyper::Client::new(), auth); +/// # let mut hub = Pubsub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5250,6 +5267,7 @@ impl<'a, C, A> ProjectSubscriptionGetIamPolicyCall<'a, C, A> where C: BorrowMut< /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_pubsub1_beta2 as pubsub1_beta2; /// use pubsub1_beta2::TestIamPermissionsRequest; @@ -5260,9 +5278,9 @@ impl<'a, C, A> ProjectSubscriptionGetIamPolicyCall<'a, C, A> where C: BorrowMut< /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Pubsub::new(hyper::Client::new(), auth); +/// # let mut hub = Pubsub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5531,6 +5549,7 @@ impl<'a, C, A> ProjectSubscriptionTestIamPermissionCall<'a, C, A> where C: Borro /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_pubsub1_beta2 as pubsub1_beta2; /// # #[test] fn egal() { @@ -5540,9 +5559,9 @@ impl<'a, C, A> ProjectSubscriptionTestIamPermissionCall<'a, C, A> where C: Borro /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Pubsub::new(hyper::Client::new(), auth); +/// # let mut hub = Pubsub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5776,6 +5795,7 @@ impl<'a, C, A> ProjectTopicDeleteCall<'a, C, A> where C: BorrowMut ProjectTopicDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Pubsub::new(hyper::Client::new(), auth); +/// # let mut hub = Pubsub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6021,6 +6041,7 @@ impl<'a, C, A> ProjectSubscriptionGetCall<'a, C, A> where C: BorrowMut ProjectSubscriptionGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Pubsub::new(hyper::Client::new(), auth); +/// # let mut hub = Pubsub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6292,6 +6313,7 @@ impl<'a, C, A> ProjectTopicSubscriptionListCall<'a, C, A> where C: BorrowMut ProjectTopicSubscriptionListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Pubsub::new(hyper::Client::new(), auth); +/// # let mut hub = Pubsub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6564,6 +6586,7 @@ impl<'a, C, A> ProjectSubscriptionListCall<'a, C, A> where C: BorrowMut ProjectSubscriptionListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Pubsub::new(hyper::Client::new(), auth); +/// # let mut hub = Pubsub::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/qpxexpress1-cli/Cargo.toml b/gen/qpxexpress1-cli/Cargo.toml index bf61082259..5c46662af5 100644 --- a/gen/qpxexpress1-cli/Cargo.toml +++ b/gen/qpxexpress1-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["qpxExpress", "google", "cli"] [[bin]] name = "qpxexpress1" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/qpxexpress1/Cargo.toml b/gen/qpxexpress1/Cargo.toml index 27792d6d07..d0d974d665 100644 --- a/gen/qpxexpress1/Cargo.toml +++ b/gen/qpxexpress1/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["qpxExpress", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/qpxexpress1/README.md b/gen/qpxexpress1/README.md index 9373cdc74d..96ce862834 100644 --- a/gen/qpxexpress1/README.md +++ b/gen/qpxexpress1/README.md @@ -70,6 +70,7 @@ google-qpxexpress1 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_qpxexpress1 as qpxexpress1; use qpxexpress1::TripsSearchRequest; @@ -87,9 +88,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = QPXExpress::new(hyper::Client::new(), auth); +let mut hub = QPXExpress::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! diff --git a/gen/qpxexpress1/src/lib.rs b/gen/qpxexpress1/src/lib.rs index fec2f6d70f..3a6e248291 100644 --- a/gen/qpxexpress1/src/lib.rs +++ b/gen/qpxexpress1/src/lib.rs @@ -70,6 +70,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_qpxexpress1 as qpxexpress1; //! use qpxexpress1::TripsSearchRequest; @@ -88,9 +89,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = QPXExpress::new(hyper::Client::new(), auth); +//! let mut hub = QPXExpress::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! @@ -232,6 +233,7 @@ pub use cmn::{MultiPartReader, ToParts, MethodInfo, Result, Error, CallBuilder, /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_qpxexpress1 as qpxexpress1; /// use qpxexpress1::TripsSearchRequest; @@ -250,9 +252,9 @@ pub use cmn::{MultiPartReader, ToParts, MethodInfo, Result, Error, CallBuilder, /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = QPXExpress::new(hyper::Client::new(), auth); +/// let mut hub = QPXExpress::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -948,6 +950,7 @@ impl Part for FreeBaggageAllowance {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_qpxexpress1 as qpxexpress1; /// @@ -958,9 +961,9 @@ impl Part for FreeBaggageAllowance {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = QPXExpress::new(hyper::Client::new(), auth); +/// let mut hub = QPXExpress::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `search(...)` /// // to build up your call. @@ -1013,6 +1016,7 @@ impl<'a, C, A> TripMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_qpxexpress1 as qpxexpress1; /// use qpxexpress1::TripsSearchRequest; @@ -1023,9 +1027,9 @@ impl<'a, C, A> TripMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = QPXExpress::new(hyper::Client::new(), auth); +/// # let mut hub = QPXExpress::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/replicapool1_beta2-cli/Cargo.toml b/gen/replicapool1_beta2-cli/Cargo.toml index 1b0acd6887..31c1117599 100644 --- a/gen/replicapool1_beta2-cli/Cargo.toml +++ b/gen/replicapool1_beta2-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["replicapool", "google", "cli"] [[bin]] name = "replicapool1-beta2" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/replicapool1_beta2/Cargo.toml b/gen/replicapool1_beta2/Cargo.toml index 250f436561..17cf365fda 100644 --- a/gen/replicapool1_beta2/Cargo.toml +++ b/gen/replicapool1_beta2/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["replicapool", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/replicapool1_beta2/README.md b/gen/replicapool1_beta2/README.md index 4cfeecaeee..366c12ac66 100644 --- a/gen/replicapool1_beta2/README.md +++ b/gen/replicapool1_beta2/README.md @@ -81,6 +81,7 @@ google-replicapool1_beta2 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_replicapool1_beta2 as replicapool1_beta2; use replicapool1_beta2::{Result, Error}; @@ -97,9 +98,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Replicapool::new(hyper::Client::new(), auth); +let mut hub = Replicapool::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! diff --git a/gen/replicapool1_beta2/src/lib.rs b/gen/replicapool1_beta2/src/lib.rs index 2a697512e5..eaa9e9b24b 100644 --- a/gen/replicapool1_beta2/src/lib.rs +++ b/gen/replicapool1_beta2/src/lib.rs @@ -81,6 +81,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_replicapool1_beta2 as replicapool1_beta2; //! use replicapool1_beta2::{Result, Error}; @@ -98,9 +99,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Replicapool::new(hyper::Client::new(), auth); +//! let mut hub = Replicapool::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! @@ -274,6 +275,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_replicapool1_beta2 as replicapool1_beta2; /// use replicapool1_beta2::{Result, Error}; @@ -291,9 +293,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Replicapool::new(hyper::Client::new(), auth); +/// let mut hub = Replicapool::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -774,6 +776,7 @@ impl ResponseResult for Operation {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_replicapool1_beta2 as replicapool1_beta2; /// @@ -784,9 +787,9 @@ impl ResponseResult for Operation {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Replicapool::new(hyper::Client::new(), auth); +/// let mut hub = Replicapool::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -858,6 +861,7 @@ impl<'a, C, A> ZoneOperationMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_replicapool1_beta2 as replicapool1_beta2; /// @@ -868,9 +872,9 @@ impl<'a, C, A> ZoneOperationMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Replicapool::new(hyper::Client::new(), auth); +/// let mut hub = Replicapool::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `abandon_instances(...)`, `delete(...)`, `delete_instances(...)`, `get(...)`, `insert(...)`, `list(...)`, `recreate_instances(...)`, `resize(...)`, `set_instance_template(...)` and `set_target_pools(...)` /// // to build up your call. @@ -1132,6 +1136,7 @@ impl<'a, C, A> InstanceGroupManagerMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_replicapool1_beta2 as replicapool1_beta2; /// # #[test] fn egal() { @@ -1141,9 +1146,9 @@ impl<'a, C, A> InstanceGroupManagerMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Replicapool::new(hyper::Client::new(), auth); +/// # let mut hub = Replicapool::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1415,6 +1420,7 @@ impl<'a, C, A> ZoneOperationListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_replicapool1_beta2 as replicapool1_beta2; /// # #[test] fn egal() { @@ -1424,9 +1430,9 @@ impl<'a, C, A> ZoneOperationListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Replicapool::new(hyper::Client::new(), auth); +/// # let mut hub = Replicapool::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1674,6 +1680,7 @@ impl<'a, C, A> ZoneOperationGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_replicapool1_beta2 as replicapool1_beta2; /// use replicapool1_beta2::InstanceGroupManagersSetTargetPoolsRequest; @@ -1684,9 +1691,9 @@ impl<'a, C, A> ZoneOperationGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Replicapool::new(hyper::Client::new(), auth); +/// # let mut hub = Replicapool::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1964,6 +1971,7 @@ impl<'a, C, A> InstanceGroupManagerSetTargetPoolCall<'a, C, A> where C: BorrowMu /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_replicapool1_beta2 as replicapool1_beta2; /// # #[test] fn egal() { @@ -1973,9 +1981,9 @@ impl<'a, C, A> InstanceGroupManagerSetTargetPoolCall<'a, C, A> where C: BorrowMu /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Replicapool::new(hyper::Client::new(), auth); +/// # let mut hub = Replicapool::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2247,6 +2255,7 @@ impl<'a, C, A> InstanceGroupManagerListCall<'a, C, A> where C: BorrowMut InstanceGroupManagerListCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Replicapool::new(hyper::Client::new(), auth); +/// # let mut hub = Replicapool::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2537,6 +2546,7 @@ impl<'a, C, A> InstanceGroupManagerInsertCall<'a, C, A> where C: BorrowMut InstanceGroupManagerInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Replicapool::new(hyper::Client::new(), auth); +/// # let mut hub = Replicapool::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2796,6 +2806,7 @@ impl<'a, C, A> InstanceGroupManagerGetCall<'a, C, A> where C: BorrowMut InstanceGroupManagerGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Replicapool::new(hyper::Client::new(), auth); +/// # let mut hub = Replicapool::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3086,6 +3097,7 @@ impl<'a, C, A> InstanceGroupManagerAbandonInstanceCall<'a, C, A> where C: Borrow /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_replicapool1_beta2 as replicapool1_beta2; /// use replicapool1_beta2::InstanceGroupManagersRecreateInstancesRequest; @@ -3096,9 +3108,9 @@ impl<'a, C, A> InstanceGroupManagerAbandonInstanceCall<'a, C, A> where C: Borrow /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Replicapool::new(hyper::Client::new(), auth); +/// # let mut hub = Replicapool::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3376,6 +3388,7 @@ impl<'a, C, A> InstanceGroupManagerRecreateInstanceCall<'a, C, A> where C: Borro /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_replicapool1_beta2 as replicapool1_beta2; /// # #[test] fn egal() { @@ -3385,9 +3398,9 @@ impl<'a, C, A> InstanceGroupManagerRecreateInstanceCall<'a, C, A> where C: Borro /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Replicapool::new(hyper::Client::new(), auth); +/// # let mut hub = Replicapool::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3635,6 +3648,7 @@ impl<'a, C, A> InstanceGroupManagerDeleteCall<'a, C, A> where C: BorrowMut InstanceGroupManagerDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Replicapool::new(hyper::Client::new(), auth); +/// # let mut hub = Replicapool::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3925,6 +3939,7 @@ impl<'a, C, A> InstanceGroupManagerSetInstanceTemplateCall<'a, C, A> where C: Bo /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_replicapool1_beta2 as replicapool1_beta2; /// # #[test] fn egal() { @@ -3934,9 +3949,9 @@ impl<'a, C, A> InstanceGroupManagerSetInstanceTemplateCall<'a, C, A> where C: Bo /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Replicapool::new(hyper::Client::new(), auth); +/// # let mut hub = Replicapool::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4196,6 +4211,7 @@ impl<'a, C, A> InstanceGroupManagerResizeCall<'a, C, A> where C: BorrowMut InstanceGroupManagerResizeCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Replicapool::new(hyper::Client::new(), auth); +/// # let mut hub = Replicapool::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/replicapoolupdater1_beta1-cli/Cargo.toml b/gen/replicapoolupdater1_beta1-cli/Cargo.toml index 244a4db06a..f4beff18df 100644 --- a/gen/replicapoolupdater1_beta1-cli/Cargo.toml +++ b/gen/replicapoolupdater1_beta1-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["replicapoolupdater", "google", "cli"] [[bin]] name = "replicapoolupdater1-beta1" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/replicapoolupdater1_beta1/Cargo.toml b/gen/replicapoolupdater1_beta1/Cargo.toml index b4fabc5528..1c8d7b03b7 100644 --- a/gen/replicapoolupdater1_beta1/Cargo.toml +++ b/gen/replicapoolupdater1_beta1/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["replicapoolupdater", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/replicapoolupdater1_beta1/README.md b/gen/replicapoolupdater1_beta1/README.md index 3ff89a198c..f0fe8d35ea 100644 --- a/gen/replicapoolupdater1_beta1/README.md +++ b/gen/replicapoolupdater1_beta1/README.md @@ -79,6 +79,7 @@ google-replicapoolupdater1_beta1 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_replicapoolupdater1_beta1 as replicapoolupdater1_beta1; use replicapoolupdater1_beta1::{Result, Error}; @@ -95,9 +96,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Replicapoolupdater::new(hyper::Client::new(), auth); +let mut hub = Replicapoolupdater::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! diff --git a/gen/replicapoolupdater1_beta1/src/lib.rs b/gen/replicapoolupdater1_beta1/src/lib.rs index 24b00a06c0..0f3976777a 100644 --- a/gen/replicapoolupdater1_beta1/src/lib.rs +++ b/gen/replicapoolupdater1_beta1/src/lib.rs @@ -79,6 +79,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_replicapoolupdater1_beta1 as replicapoolupdater1_beta1; //! use replicapoolupdater1_beta1::{Result, Error}; @@ -96,9 +97,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Replicapoolupdater::new(hyper::Client::new(), auth); +//! let mut hub = Replicapoolupdater::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! @@ -272,6 +273,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_replicapoolupdater1_beta1 as replicapoolupdater1_beta1; /// use replicapoolupdater1_beta1::{Result, Error}; @@ -289,9 +291,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Replicapoolupdater::new(hyper::Client::new(), auth); +/// let mut hub = Replicapoolupdater::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -801,6 +803,7 @@ impl ResponseResult for RollingUpdateList {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_replicapoolupdater1_beta1 as replicapoolupdater1_beta1; /// @@ -811,9 +814,9 @@ impl ResponseResult for RollingUpdateList {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Replicapoolupdater::new(hyper::Client::new(), auth); +/// let mut hub = Replicapoolupdater::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `cancel(...)`, `get(...)`, `insert(...)`, `list(...)`, `list_instance_updates(...)`, `pause(...)`, `resume(...)` and `rollback(...)` /// // to build up your call. @@ -1014,6 +1017,7 @@ impl<'a, C, A> RollingUpdateMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_replicapoolupdater1_beta1 as replicapoolupdater1_beta1; /// @@ -1024,9 +1028,9 @@ impl<'a, C, A> RollingUpdateMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Replicapoolupdater::new(hyper::Client::new(), auth); +/// let mut hub = Replicapoolupdater::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -1106,6 +1110,7 @@ impl<'a, C, A> ZoneOperationMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_replicapoolupdater1_beta1 as replicapoolupdater1_beta1; /// # #[test] fn egal() { @@ -1115,9 +1120,9 @@ impl<'a, C, A> ZoneOperationMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Replicapoolupdater::new(hyper::Client::new(), auth); +/// # let mut hub = Replicapoolupdater::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1365,6 +1370,7 @@ impl<'a, C, A> RollingUpdatePauseCall<'a, C, A> where C: BorrowMut RollingUpdatePauseCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Replicapoolupdater::new(hyper::Client::new(), auth); +/// # let mut hub = Replicapoolupdater::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1624,6 +1630,7 @@ impl<'a, C, A> RollingUpdateRollbackCall<'a, C, A> where C: BorrowMut RollingUpdateRollbackCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Replicapoolupdater::new(hyper::Client::new(), auth); +/// # let mut hub = Replicapoolupdater::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1883,6 +1890,7 @@ impl<'a, C, A> RollingUpdateGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_replicapoolupdater1_beta1 as replicapoolupdater1_beta1; /// # #[test] fn egal() { @@ -1892,9 +1900,9 @@ impl<'a, C, A> RollingUpdateGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Replicapoolupdater::new(hyper::Client::new(), auth); +/// # let mut hub = Replicapoolupdater::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2142,6 +2150,7 @@ impl<'a, C, A> RollingUpdateResumeCall<'a, C, A> where C: BorrowMut RollingUpdateResumeCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Replicapoolupdater::new(hyper::Client::new(), auth); +/// # let mut hub = Replicapoolupdater::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2425,6 +2434,7 @@ impl<'a, C, A> RollingUpdateListCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_replicapoolupdater1_beta1 as replicapoolupdater1_beta1; /// use replicapoolupdater1_beta1::RollingUpdate; @@ -2435,9 +2445,9 @@ impl<'a, C, A> RollingUpdateListCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Replicapoolupdater::new(hyper::Client::new(), auth); +/// # let mut hub = Replicapoolupdater::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2703,6 +2713,7 @@ impl<'a, C, A> RollingUpdateInsertCall<'a, C, A> where C: BorrowMut RollingUpdateInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Replicapoolupdater::new(hyper::Client::new(), auth); +/// # let mut hub = Replicapoolupdater::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2998,6 +3009,7 @@ impl<'a, C, A> RollingUpdateListInstanceUpdateCall<'a, C, A> where C: BorrowMut< /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_replicapoolupdater1_beta1 as replicapoolupdater1_beta1; /// # #[test] fn egal() { @@ -3007,9 +3019,9 @@ impl<'a, C, A> RollingUpdateListInstanceUpdateCall<'a, C, A> where C: BorrowMut< /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Replicapoolupdater::new(hyper::Client::new(), auth); +/// # let mut hub = Replicapoolupdater::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3257,6 +3269,7 @@ impl<'a, C, A> RollingUpdateCancelCall<'a, C, A> where C: BorrowMut RollingUpdateCancelCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Replicapoolupdater::new(hyper::Client::new(), auth); +/// # let mut hub = Replicapoolupdater::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3516,6 +3529,7 @@ impl<'a, C, A> ZoneOperationGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_replicapoolupdater1_beta1 as replicapoolupdater1_beta1; /// # #[test] fn egal() { @@ -3525,9 +3539,9 @@ impl<'a, C, A> ZoneOperationGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Replicapoolupdater::new(hyper::Client::new(), auth); +/// # let mut hub = Replicapoolupdater::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/reseller1_sandbox-cli/Cargo.toml b/gen/reseller1_sandbox-cli/Cargo.toml index 0272b659bf..63f4ba191c 100644 --- a/gen/reseller1_sandbox-cli/Cargo.toml +++ b/gen/reseller1_sandbox-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["reseller", "google", "cli"] [[bin]] name = "reseller1-sandbox" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/reseller1_sandbox/Cargo.toml b/gen/reseller1_sandbox/Cargo.toml index ea5ba1a7e8..b7c3c00900 100644 --- a/gen/reseller1_sandbox/Cargo.toml +++ b/gen/reseller1_sandbox/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["reseller", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/reseller1_sandbox/README.md b/gen/reseller1_sandbox/README.md index 042d28d1cd..8b39f22eb5 100644 --- a/gen/reseller1_sandbox/README.md +++ b/gen/reseller1_sandbox/README.md @@ -81,6 +81,7 @@ google-reseller1_sandbox = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_reseller1_sandbox as reseller1_sandbox; use reseller1_sandbox::{Result, Error}; @@ -97,9 +98,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Reseller::new(hyper::Client::new(), auth); +let mut hub = Reseller::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! diff --git a/gen/reseller1_sandbox/src/lib.rs b/gen/reseller1_sandbox/src/lib.rs index 6c63f235ed..c40c6ff5bd 100644 --- a/gen/reseller1_sandbox/src/lib.rs +++ b/gen/reseller1_sandbox/src/lib.rs @@ -81,6 +81,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_reseller1_sandbox as reseller1_sandbox; //! use reseller1_sandbox::{Result, Error}; @@ -98,9 +99,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Reseller::new(hyper::Client::new(), auth); +//! let mut hub = Reseller::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! @@ -268,6 +269,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_reseller1_sandbox as reseller1_sandbox; /// use reseller1_sandbox::{Result, Error}; @@ -285,9 +287,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Reseller::new(hyper::Client::new(), auth); +/// let mut hub = Reseller::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -726,6 +728,7 @@ impl ResponseResult for Subscription {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_reseller1_sandbox as reseller1_sandbox; /// @@ -736,9 +739,9 @@ impl ResponseResult for Subscription {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Reseller::new(hyper::Client::new(), auth); +/// let mut hub = Reseller::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -840,6 +843,7 @@ impl<'a, C, A> CustomerMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_reseller1_sandbox as reseller1_sandbox; /// @@ -850,9 +854,9 @@ impl<'a, C, A> CustomerMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Reseller::new(hyper::Client::new(), auth); +/// let mut hub = Reseller::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `activate(...)`, `change_plan(...)`, `change_renewal_settings(...)`, `change_seats(...)`, `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `start_paid_service(...)` and `suspend(...)` /// // to build up your call. @@ -1086,6 +1090,7 @@ impl<'a, C, A> SubscriptionMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_reseller1_sandbox as reseller1_sandbox; /// use reseller1_sandbox::Customer; @@ -1096,9 +1101,9 @@ impl<'a, C, A> SubscriptionMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Reseller::new(hyper::Client::new(), auth); +/// # let mut hub = Reseller::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1352,6 +1357,7 @@ impl<'a, C, A> CustomerUpdateCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_reseller1_sandbox as reseller1_sandbox; /// use reseller1_sandbox::Customer; @@ -1362,9 +1368,9 @@ impl<'a, C, A> CustomerUpdateCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Reseller::new(hyper::Client::new(), auth); +/// # let mut hub = Reseller::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1597,6 +1603,7 @@ impl<'a, C, A> CustomerInsertCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_reseller1_sandbox as reseller1_sandbox; /// use reseller1_sandbox::Customer; @@ -1607,9 +1614,9 @@ impl<'a, C, A> CustomerInsertCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Reseller::new(hyper::Client::new(), auth); +/// # let mut hub = Reseller::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1863,6 +1870,7 @@ impl<'a, C, A> CustomerPatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_reseller1_sandbox as reseller1_sandbox; /// # #[test] fn egal() { @@ -1872,9 +1880,9 @@ impl<'a, C, A> CustomerPatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Reseller::new(hyper::Client::new(), auth); +/// # let mut hub = Reseller::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2098,6 +2106,7 @@ impl<'a, C, A> CustomerGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_reseller1_sandbox as reseller1_sandbox; /// use reseller1_sandbox::Subscription; @@ -2108,9 +2117,9 @@ impl<'a, C, A> CustomerGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Reseller::new(hyper::Client::new(), auth); +/// # let mut hub = Reseller::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2376,6 +2385,7 @@ impl<'a, C, A> SubscriptionInsertCall<'a, C, A> where C: BorrowMut SubscriptionInsertCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Reseller::new(hyper::Client::new(), auth); +/// # let mut hub = Reseller::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2624,6 +2634,7 @@ impl<'a, C, A> SubscriptionDeleteCall<'a, C, A> where C: BorrowMut SubscriptionDeleteCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Reseller::new(hyper::Client::new(), auth); +/// # let mut hub = Reseller::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2871,6 +2882,7 @@ impl<'a, C, A> SubscriptionGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_reseller1_sandbox as reseller1_sandbox; /// # #[test] fn egal() { @@ -2880,9 +2892,9 @@ impl<'a, C, A> SubscriptionGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Reseller::new(hyper::Client::new(), auth); +/// # let mut hub = Reseller::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3133,6 +3145,7 @@ impl<'a, C, A> SubscriptionListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_reseller1_sandbox as reseller1_sandbox; /// use reseller1_sandbox::RenewalSettings; @@ -3143,9 +3156,9 @@ impl<'a, C, A> SubscriptionListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Reseller::new(hyper::Client::new(), auth); +/// # let mut hub = Reseller::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3411,6 +3424,7 @@ impl<'a, C, A> SubscriptionChangeRenewalSettingCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_reseller1_sandbox as reseller1_sandbox; /// # #[test] fn egal() { @@ -3420,9 +3434,9 @@ impl<'a, C, A> SubscriptionChangeRenewalSettingCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Reseller::new(hyper::Client::new(), auth); +/// # let mut hub = Reseller::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3658,6 +3672,7 @@ impl<'a, C, A> SubscriptionStartPaidServiceCall<'a, C, A> where C: BorrowMut SubscriptionStartPaidServiceCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Reseller::new(hyper::Client::new(), auth); +/// # let mut hub = Reseller::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3936,6 +3951,7 @@ impl<'a, C, A> SubscriptionChangeSeatCall<'a, C, A> where C: BorrowMut SubscriptionChangeSeatCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Reseller::new(hyper::Client::new(), auth); +/// # let mut hub = Reseller::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4183,6 +4199,7 @@ impl<'a, C, A> SubscriptionSuspendCall<'a, C, A> where C: BorrowMut SubscriptionSuspendCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Reseller::new(hyper::Client::new(), auth); +/// # let mut hub = Reseller::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4430,6 +4447,7 @@ impl<'a, C, A> SubscriptionActivateCall<'a, C, A> where C: BorrowMut SubscriptionActivateCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Reseller::new(hyper::Client::new(), auth); +/// # let mut hub = Reseller::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/resourceviews1_beta2-cli/Cargo.toml b/gen/resourceviews1_beta2-cli/Cargo.toml index 71eac0aadc..439145f929 100644 --- a/gen/resourceviews1_beta2-cli/Cargo.toml +++ b/gen/resourceviews1_beta2-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["resourceviews", "google", "cli"] [[bin]] name = "resourceviews1-beta2" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/resourceviews1_beta2/Cargo.toml b/gen/resourceviews1_beta2/Cargo.toml index 624a628d1d..4e79fb8278 100644 --- a/gen/resourceviews1_beta2/Cargo.toml +++ b/gen/resourceviews1_beta2/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["resourceviews", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/resourceviews1_beta2/README.md b/gen/resourceviews1_beta2/README.md index b05a260d4a..30bc1f8f80 100644 --- a/gen/resourceviews1_beta2/README.md +++ b/gen/resourceviews1_beta2/README.md @@ -77,6 +77,7 @@ google-resourceviews1_beta2 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_resourceviews1_beta2 as resourceviews1_beta2; use resourceviews1_beta2::ZoneViewsRemoveResourcesRequest; @@ -94,9 +95,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Resourceviews::new(hyper::Client::new(), auth); +let mut hub = Resourceviews::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! diff --git a/gen/resourceviews1_beta2/src/lib.rs b/gen/resourceviews1_beta2/src/lib.rs index 17e16425d4..fda776a354 100644 --- a/gen/resourceviews1_beta2/src/lib.rs +++ b/gen/resourceviews1_beta2/src/lib.rs @@ -77,6 +77,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_resourceviews1_beta2 as resourceviews1_beta2; //! use resourceviews1_beta2::ZoneViewsRemoveResourcesRequest; @@ -95,9 +96,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Resourceviews::new(hyper::Client::new(), auth); +//! let mut hub = Resourceviews::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! @@ -281,6 +282,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_resourceviews1_beta2 as resourceviews1_beta2; /// use resourceviews1_beta2::ZoneViewsRemoveResourcesRequest; @@ -299,9 +301,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Resourceviews::new(hyper::Client::new(), auth); +/// let mut hub = Resourceviews::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -792,6 +794,7 @@ impl Part for OperationWarningsData {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_resourceviews1_beta2 as resourceviews1_beta2; /// @@ -802,9 +805,9 @@ impl Part for OperationWarningsData {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Resourceviews::new(hyper::Client::new(), auth); +/// let mut hub = Resourceviews::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `add_resources(...)`, `delete(...)`, `get(...)`, `get_service(...)`, `insert(...)`, `list(...)`, `list_resources(...)`, `remove_resources(...)` and `set_service(...)` /// // to build up your call. @@ -1034,6 +1037,7 @@ impl<'a, C, A> ZoneViewMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_resourceviews1_beta2 as resourceviews1_beta2; /// @@ -1044,9 +1048,9 @@ impl<'a, C, A> ZoneViewMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Resourceviews::new(hyper::Client::new(), auth); +/// let mut hub = Resourceviews::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -1126,6 +1130,7 @@ impl<'a, C, A> ZoneOperationMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_resourceviews1_beta2 as resourceviews1_beta2; /// use resourceviews1_beta2::ZoneViewsRemoveResourcesRequest; @@ -1136,9 +1141,9 @@ impl<'a, C, A> ZoneOperationMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Resourceviews::new(hyper::Client::new(), auth); +/// # let mut hub = Resourceviews::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1416,6 +1421,7 @@ impl<'a, C, A> ZoneViewRemoveResourceCall<'a, C, A> where C: BorrowMut ZoneViewRemoveResourceCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Resourceviews::new(hyper::Client::new(), auth); +/// # let mut hub = Resourceviews::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1706,6 +1712,7 @@ impl<'a, C, A> ZoneViewAddResourceCall<'a, C, A> where C: BorrowMut ZoneViewAddResourceCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Resourceviews::new(hyper::Client::new(), auth); +/// # let mut hub = Resourceviews::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2025,6 +2032,7 @@ impl<'a, C, A> ZoneViewListResourceCall<'a, C, A> where C: BorrowMut ZoneViewListResourceCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Resourceviews::new(hyper::Client::new(), auth); +/// # let mut hub = Resourceviews::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2284,6 +2292,7 @@ impl<'a, C, A> ZoneViewGetCall<'a, C, A> where C: BorrowMut, A: o /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_resourceviews1_beta2 as resourceviews1_beta2; /// # #[test] fn egal() { @@ -2293,9 +2302,9 @@ impl<'a, C, A> ZoneViewGetCall<'a, C, A> where C: BorrowMut, A: o /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Resourceviews::new(hyper::Client::new(), auth); +/// # let mut hub = Resourceviews::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2555,6 +2564,7 @@ impl<'a, C, A> ZoneViewListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_resourceviews1_beta2 as resourceviews1_beta2; /// use resourceviews1_beta2::ResourceView; @@ -2565,9 +2575,9 @@ impl<'a, C, A> ZoneViewListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Resourceviews::new(hyper::Client::new(), auth); +/// # let mut hub = Resourceviews::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2833,6 +2843,7 @@ impl<'a, C, A> ZoneViewInsertCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_resourceviews1_beta2 as resourceviews1_beta2; /// # #[test] fn egal() { @@ -2842,9 +2853,9 @@ impl<'a, C, A> ZoneViewInsertCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Resourceviews::new(hyper::Client::new(), auth); +/// # let mut hub = Resourceviews::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3092,6 +3103,7 @@ impl<'a, C, A> ZoneViewDeleteCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_resourceviews1_beta2 as resourceviews1_beta2; /// use resourceviews1_beta2::ZoneViewsSetServiceRequest; @@ -3102,9 +3114,9 @@ impl<'a, C, A> ZoneViewDeleteCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Resourceviews::new(hyper::Client::new(), auth); +/// # let mut hub = Resourceviews::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3382,6 +3394,7 @@ impl<'a, C, A> ZoneViewSetServiceCall<'a, C, A> where C: BorrowMut ZoneViewSetServiceCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Resourceviews::new(hyper::Client::new(), auth); +/// # let mut hub = Resourceviews::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3653,6 +3666,7 @@ impl<'a, C, A> ZoneViewGetServiceCall<'a, C, A> where C: BorrowMut ZoneViewGetServiceCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Resourceviews::new(hyper::Client::new(), auth); +/// # let mut hub = Resourceviews::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3912,6 +3926,7 @@ impl<'a, C, A> ZoneOperationGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_resourceviews1_beta2 as resourceviews1_beta2; /// # #[test] fn egal() { @@ -3921,9 +3936,9 @@ impl<'a, C, A> ZoneOperationGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Resourceviews::new(hyper::Client::new(), auth); +/// # let mut hub = Resourceviews::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/safebrowsing4-cli/Cargo.toml b/gen/safebrowsing4-cli/Cargo.toml index 3e873aeb07..0a0eac47c4 100644 --- a/gen/safebrowsing4-cli/Cargo.toml +++ b/gen/safebrowsing4-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["safebrowsing", "google", "cli"] [[bin]] name = "safebrowsing4" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/safebrowsing4/Cargo.toml b/gen/safebrowsing4/Cargo.toml index 8bac8ef613..547d76a0ce 100644 --- a/gen/safebrowsing4/Cargo.toml +++ b/gen/safebrowsing4/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["safebrowsing", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/safebrowsing4/README.md b/gen/safebrowsing4/README.md index 3f965d0782..db36112505 100644 --- a/gen/safebrowsing4/README.md +++ b/gen/safebrowsing4/README.md @@ -81,6 +81,7 @@ google-safebrowsing4 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_safebrowsing4 as safebrowsing4; use safebrowsing4::{Result, Error}; @@ -97,9 +98,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = Safebrowsing::new(hyper::Client::new(), auth); +let mut hub = Safebrowsing::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! diff --git a/gen/safebrowsing4/src/lib.rs b/gen/safebrowsing4/src/lib.rs index f6ce5416ca..3d766eb292 100644 --- a/gen/safebrowsing4/src/lib.rs +++ b/gen/safebrowsing4/src/lib.rs @@ -81,6 +81,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_safebrowsing4 as safebrowsing4; //! use safebrowsing4::{Result, Error}; @@ -98,9 +99,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = Safebrowsing::new(hyper::Client::new(), auth); +//! let mut hub = Safebrowsing::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! @@ -239,6 +240,7 @@ pub use cmn::{MultiPartReader, ToParts, MethodInfo, Result, Error, CallBuilder, /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_safebrowsing4 as safebrowsing4; /// use safebrowsing4::{Result, Error}; @@ -256,9 +258,9 @@ pub use cmn::{MultiPartReader, ToParts, MethodInfo, Result, Error, CallBuilder, /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Safebrowsing::new(hyper::Client::new(), auth); +/// let mut hub = Safebrowsing::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -880,6 +882,7 @@ impl RequestValue for FindFullHashesRequest {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_safebrowsing4 as safebrowsing4; /// @@ -890,9 +893,9 @@ impl RequestValue for FindFullHashesRequest {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Safebrowsing::new(hyper::Client::new(), auth); +/// let mut hub = Safebrowsing::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -939,6 +942,7 @@ impl<'a, C, A> EncodedFullHasheMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_safebrowsing4 as safebrowsing4; /// @@ -949,9 +953,9 @@ impl<'a, C, A> EncodedFullHasheMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Safebrowsing::new(hyper::Client::new(), auth); +/// let mut hub = Safebrowsing::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `find(...)` /// // to build up your call. @@ -996,6 +1000,7 @@ impl<'a, C, A> FullHasheMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_safebrowsing4 as safebrowsing4; /// @@ -1006,9 +1011,9 @@ impl<'a, C, A> FullHasheMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Safebrowsing::new(hyper::Client::new(), auth); +/// let mut hub = Safebrowsing::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `fetch(...)` /// // to build up your call. @@ -1054,6 +1059,7 @@ impl<'a, C, A> ThreatListUpdateMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_safebrowsing4 as safebrowsing4; /// @@ -1064,9 +1070,9 @@ impl<'a, C, A> ThreatListUpdateMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Safebrowsing::new(hyper::Client::new(), auth); +/// let mut hub = Safebrowsing::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -1113,6 +1119,7 @@ impl<'a, C, A> EncodedUpdateMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_safebrowsing4 as safebrowsing4; /// @@ -1123,9 +1130,9 @@ impl<'a, C, A> EncodedUpdateMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Safebrowsing::new(hyper::Client::new(), auth); +/// let mut hub = Safebrowsing::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -1165,6 +1172,7 @@ impl<'a, C, A> ThreatListMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_safebrowsing4 as safebrowsing4; /// @@ -1175,9 +1183,9 @@ impl<'a, C, A> ThreatListMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = Safebrowsing::new(hyper::Client::new(), auth); +/// let mut hub = Safebrowsing::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `find(...)` /// // to build up your call. @@ -1230,6 +1238,7 @@ impl<'a, C, A> ThreatMatcheMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_safebrowsing4 as safebrowsing4; /// # #[test] fn egal() { @@ -1239,9 +1248,9 @@ impl<'a, C, A> ThreatMatcheMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Safebrowsing::new(hyper::Client::new(), auth); +/// # let mut hub = Safebrowsing::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1474,6 +1483,7 @@ impl<'a, C, A> EncodedFullHasheGetCall<'a, C, A> where C: BorrowMut EncodedFullHasheGetCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Safebrowsing::new(hyper::Client::new(), auth); +/// # let mut hub = Safebrowsing::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1692,6 +1702,7 @@ impl<'a, C, A> FullHasheFindCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_safebrowsing4 as safebrowsing4; /// use safebrowsing4::FetchThreatListUpdatesRequest; @@ -1702,9 +1713,9 @@ impl<'a, C, A> FullHasheFindCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Safebrowsing::new(hyper::Client::new(), auth); +/// # let mut hub = Safebrowsing::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1909,6 +1920,7 @@ impl<'a, C, A> ThreatListUpdateFetchCall<'a, C, A> where C: BorrowMut ThreatListUpdateFetchCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = Safebrowsing::new(hyper::Client::new(), auth); +/// # let mut hub = Safebrowsing::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2153,6 +2165,7 @@ impl<'a, C, A> EncodedUpdateGetCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_safebrowsing4 as safebrowsing4; /// # #[test] fn egal() { @@ -2162,9 +2175,9 @@ impl<'a, C, A> EncodedUpdateGetCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Safebrowsing::new(hyper::Client::new(), auth); +/// # let mut hub = Safebrowsing::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2339,6 +2352,7 @@ impl<'a, C, A> ThreatListListCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_safebrowsing4 as safebrowsing4; /// use safebrowsing4::FindThreatMatchesRequest; @@ -2349,9 +2363,9 @@ impl<'a, C, A> ThreatListListCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = Safebrowsing::new(hyper::Client::new(), auth); +/// # let mut hub = Safebrowsing::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/searchconsole1-cli/Cargo.toml b/gen/searchconsole1-cli/Cargo.toml index 2dffcc848e..ffb470b822 100644 --- a/gen/searchconsole1-cli/Cargo.toml +++ b/gen/searchconsole1-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["searchconsole", "google", "cli"] [[bin]] name = "searchconsole1" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/searchconsole1/Cargo.toml b/gen/searchconsole1/Cargo.toml index cc6861a594..babe5f0d01 100644 --- a/gen/searchconsole1/Cargo.toml +++ b/gen/searchconsole1/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["searchconsole", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/searchconsole1/README.md b/gen/searchconsole1/README.md index 3b6ff005df..bfff1096c1 100644 --- a/gen/searchconsole1/README.md +++ b/gen/searchconsole1/README.md @@ -70,6 +70,7 @@ google-searchconsole1 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_searchconsole1 as searchconsole1; use searchconsole1::RunMobileFriendlyTestRequest; @@ -87,9 +88,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = SearchConsole::new(hyper::Client::new(), auth); +let mut hub = SearchConsole::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! diff --git a/gen/searchconsole1/src/lib.rs b/gen/searchconsole1/src/lib.rs index d0a355be57..e6e7c0b05d 100644 --- a/gen/searchconsole1/src/lib.rs +++ b/gen/searchconsole1/src/lib.rs @@ -70,6 +70,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_searchconsole1 as searchconsole1; //! use searchconsole1::RunMobileFriendlyTestRequest; @@ -88,9 +89,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = SearchConsole::new(hyper::Client::new(), auth); +//! let mut hub = SearchConsole::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! @@ -232,6 +233,7 @@ pub use cmn::{MultiPartReader, ToParts, MethodInfo, Result, Error, CallBuilder, /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_searchconsole1 as searchconsole1; /// use searchconsole1::RunMobileFriendlyTestRequest; @@ -250,9 +252,9 @@ pub use cmn::{MultiPartReader, ToParts, MethodInfo, Result, Error, CallBuilder, /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = SearchConsole::new(hyper::Client::new(), auth); +/// let mut hub = SearchConsole::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -476,6 +478,7 @@ impl Part for BlockedResource {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_searchconsole1 as searchconsole1; /// @@ -486,9 +489,9 @@ impl Part for BlockedResource {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = SearchConsole::new(hyper::Client::new(), auth); +/// let mut hub = SearchConsole::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `mobile_friendly_test_run(...)` /// // to build up your call. @@ -541,6 +544,7 @@ impl<'a, C, A> UrlTestingToolMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_searchconsole1 as searchconsole1; /// use searchconsole1::RunMobileFriendlyTestRequest; @@ -551,9 +555,9 @@ impl<'a, C, A> UrlTestingToolMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = SearchConsole::new(hyper::Client::new(), auth); +/// # let mut hub = SearchConsole::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/serviceregistryalpha-cli/Cargo.toml b/gen/serviceregistryalpha-cli/Cargo.toml index 552f0a3ac2..ec7448f693 100644 --- a/gen/serviceregistryalpha-cli/Cargo.toml +++ b/gen/serviceregistryalpha-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["serviceregistry", "google", "cli"] [[bin]] name = "serviceregistryalpha" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/serviceregistryalpha/Cargo.toml b/gen/serviceregistryalpha/Cargo.toml index f2920deacd..2547f236e7 100644 --- a/gen/serviceregistryalpha/Cargo.toml +++ b/gen/serviceregistryalpha/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["serviceregistry", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/serviceregistryalpha/README.md b/gen/serviceregistryalpha/README.md index ac7879352a..9423337f04 100644 --- a/gen/serviceregistryalpha/README.md +++ b/gen/serviceregistryalpha/README.md @@ -77,6 +77,7 @@ google-serviceregistryalpha = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_serviceregistryalpha as serviceregistryalpha; use serviceregistryalpha::{Result, Error}; @@ -93,9 +94,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = ServiceRegistry::new(hyper::Client::new(), auth); +let mut hub = ServiceRegistry::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! diff --git a/gen/serviceregistryalpha/src/lib.rs b/gen/serviceregistryalpha/src/lib.rs index 33dbfe9b63..5dfbd8dfd3 100644 --- a/gen/serviceregistryalpha/src/lib.rs +++ b/gen/serviceregistryalpha/src/lib.rs @@ -77,6 +77,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_serviceregistryalpha as serviceregistryalpha; //! use serviceregistryalpha::{Result, Error}; @@ -94,9 +95,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = ServiceRegistry::new(hyper::Client::new(), auth); +//! let mut hub = ServiceRegistry::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! @@ -271,6 +272,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_serviceregistryalpha as serviceregistryalpha; /// use serviceregistryalpha::{Result, Error}; @@ -288,9 +290,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = ServiceRegistry::new(hyper::Client::new(), auth); +/// let mut hub = ServiceRegistry::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -640,6 +642,7 @@ impl ResponseResult for Operation {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_serviceregistryalpha as serviceregistryalpha; /// @@ -650,9 +653,9 @@ impl ResponseResult for Operation {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = ServiceRegistry::new(hyper::Client::new(), auth); +/// let mut hub = ServiceRegistry::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -721,6 +724,7 @@ impl<'a, C, A> OperationMethods<'a, C, A> { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_serviceregistryalpha as serviceregistryalpha; /// @@ -731,9 +735,9 @@ impl<'a, C, A> OperationMethods<'a, C, A> { /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = ServiceRegistry::new(hyper::Client::new(), auth); +/// let mut hub = ServiceRegistry::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -890,6 +894,7 @@ impl<'a, C, A> EndpointMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_serviceregistryalpha as serviceregistryalpha; /// # #[test] fn egal() { @@ -899,9 +904,9 @@ impl<'a, C, A> EndpointMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = ServiceRegistry::new(hyper::Client::new(), auth); +/// # let mut hub = ServiceRegistry::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1137,6 +1142,7 @@ impl<'a, C, A> OperationGetCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_serviceregistryalpha as serviceregistryalpha; /// # #[test] fn egal() { @@ -1146,9 +1152,9 @@ impl<'a, C, A> OperationGetCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = ServiceRegistry::new(hyper::Client::new(), auth); +/// # let mut hub = ServiceRegistry::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1432,6 +1438,7 @@ impl<'a, C, A> OperationListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_serviceregistryalpha as serviceregistryalpha; /// use serviceregistryalpha::Endpoint; @@ -1442,9 +1449,9 @@ impl<'a, C, A> OperationListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = ServiceRegistry::new(hyper::Client::new(), auth); +/// # let mut hub = ServiceRegistry::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1698,6 +1705,7 @@ impl<'a, C, A> EndpointInsertCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_serviceregistryalpha as serviceregistryalpha; /// # #[test] fn egal() { @@ -1707,9 +1715,9 @@ impl<'a, C, A> EndpointInsertCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = ServiceRegistry::new(hyper::Client::new(), auth); +/// # let mut hub = ServiceRegistry::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1945,6 +1953,7 @@ impl<'a, C, A> EndpointDeleteCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_serviceregistryalpha as serviceregistryalpha; /// use serviceregistryalpha::Endpoint; @@ -1955,9 +1964,9 @@ impl<'a, C, A> EndpointDeleteCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = ServiceRegistry::new(hyper::Client::new(), auth); +/// # let mut hub = ServiceRegistry::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2223,6 +2232,7 @@ impl<'a, C, A> EndpointUpdateCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_serviceregistryalpha as serviceregistryalpha; /// use serviceregistryalpha::Endpoint; @@ -2233,9 +2243,9 @@ impl<'a, C, A> EndpointUpdateCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = ServiceRegistry::new(hyper::Client::new(), auth); +/// # let mut hub = ServiceRegistry::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2501,6 +2511,7 @@ impl<'a, C, A> EndpointPatchCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_serviceregistryalpha as serviceregistryalpha; /// # #[test] fn egal() { @@ -2510,9 +2521,9 @@ impl<'a, C, A> EndpointPatchCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = ServiceRegistry::new(hyper::Client::new(), auth); +/// # let mut hub = ServiceRegistry::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2796,6 +2807,7 @@ impl<'a, C, A> EndpointListCall<'a, C, A> where C: BorrowMut, A: /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_serviceregistryalpha as serviceregistryalpha; /// # #[test] fn egal() { @@ -2805,9 +2817,9 @@ impl<'a, C, A> EndpointListCall<'a, C, A> where C: BorrowMut, A: /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = ServiceRegistry::new(hyper::Client::new(), auth); +/// # let mut hub = ServiceRegistry::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/siteverification1-cli/Cargo.toml b/gen/siteverification1-cli/Cargo.toml index 7003225a01..c166d6fc9a 100644 --- a/gen/siteverification1-cli/Cargo.toml +++ b/gen/siteverification1-cli/Cargo.toml @@ -16,6 +16,9 @@ keywords = ["siteVerification", "google", "cli"] [[bin]] name = "siteverification1" +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/siteverification1/Cargo.toml b/gen/siteverification1/Cargo.toml index 22e8ea8386..d669092dfd 100644 --- a/gen/siteverification1/Cargo.toml +++ b/gen/siteverification1/Cargo.toml @@ -14,6 +14,9 @@ license = "MIT" keywords = ["siteVerification", "google", "protocol", "web", "api"] +[dev-dependencies] +hyper-rustls = "^0.6" + [dependencies] hyper = "^ 0.10" mime = "^ 0.2.0" diff --git a/gen/siteverification1/README.md b/gen/siteverification1/README.md index 4d0b894cd4..418bdfb124 100644 --- a/gen/siteverification1/README.md +++ b/gen/siteverification1/README.md @@ -73,6 +73,7 @@ google-siteverification1 = "*" ```Rust extern crate hyper; +extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_siteverification1 as siteverification1; use siteverification1::SiteVerificationWebResourceResource; @@ -90,9 +91,9 @@ let secret: ApplicationSecret = Default::default(); // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and // retrieve them from storage. let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), ::default(), None); -let mut hub = SiteVerification::new(hyper::Client::new(), auth); +let mut hub = SiteVerification::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! diff --git a/gen/siteverification1/src/lib.rs b/gen/siteverification1/src/lib.rs index 8ea5e9b146..716524e4b7 100644 --- a/gen/siteverification1/src/lib.rs +++ b/gen/siteverification1/src/lib.rs @@ -73,6 +73,7 @@ //! //! ```test_harness,no_run //! extern crate hyper; +//! extern crate hyper_rustls; //! extern crate yup_oauth2 as oauth2; //! extern crate google_siteverification1 as siteverification1; //! use siteverification1::SiteVerificationWebResourceResource; @@ -91,9 +92,9 @@ //! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and //! // retrieve them from storage. //! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), +//! hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), //! ::default(), None); -//! let mut hub = SiteVerification::new(hyper::Client::new(), auth); +//! let mut hub = SiteVerification::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! @@ -261,6 +262,7 @@ impl Default for Scope { /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_siteverification1 as siteverification1; /// use siteverification1::SiteVerificationWebResourceResource; @@ -279,9 +281,9 @@ impl Default for Scope { /// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and /// // retrieve them from storage. /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = SiteVerification::new(hyper::Client::new(), auth); +/// let mut hub = SiteVerification::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -500,6 +502,7 @@ impl ResponseResult for SiteVerificationWebResourceGettokenResponse {} /// /// ```test_harness,no_run /// extern crate hyper; +/// extern crate hyper_rustls; /// extern crate yup_oauth2 as oauth2; /// extern crate google_siteverification1 as siteverification1; /// @@ -510,9 +513,9 @@ impl ResponseResult for SiteVerificationWebResourceGettokenResponse {} /// /// let secret: ApplicationSecret = Default::default(); /// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), +/// hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// ::default(), None); -/// let mut hub = SiteVerification::new(hyper::Client::new(), auth); +/// let mut hub = SiteVerification::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `get_token(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -669,6 +672,7 @@ impl<'a, C, A> WebResourceMethods<'a, C, A> { /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_siteverification1 as siteverification1; /// # #[test] fn egal() { @@ -678,9 +682,9 @@ impl<'a, C, A> WebResourceMethods<'a, C, A> { /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = SiteVerification::new(hyper::Client::new(), auth); +/// # let mut hub = SiteVerification::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -904,6 +908,7 @@ impl<'a, C, A> WebResourceGetCall<'a, C, A> where C: BorrowMut, A /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_siteverification1 as siteverification1; /// use siteverification1::SiteVerificationWebResourceResource; @@ -914,9 +919,9 @@ impl<'a, C, A> WebResourceGetCall<'a, C, A> where C: BorrowMut, A /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = SiteVerification::new(hyper::Client::new(), auth); +/// # let mut hub = SiteVerification::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1170,6 +1175,7 @@ impl<'a, C, A> WebResourcePatchCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_siteverification1 as siteverification1; /// # #[test] fn egal() { @@ -1179,9 +1185,9 @@ impl<'a, C, A> WebResourcePatchCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = SiteVerification::new(hyper::Client::new(), auth); +/// # let mut hub = SiteVerification::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1372,6 +1378,7 @@ impl<'a, C, A> WebResourceListCall<'a, C, A> where C: BorrowMut, /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_siteverification1 as siteverification1; /// # #[test] fn egal() { @@ -1381,9 +1388,9 @@ impl<'a, C, A> WebResourceListCall<'a, C, A> where C: BorrowMut, /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = SiteVerification::new(hyper::Client::new(), auth); +/// # let mut hub = SiteVerification::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1596,6 +1603,7 @@ impl<'a, C, A> WebResourceDeleteCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_siteverification1 as siteverification1; /// use siteverification1::SiteVerificationWebResourceGettokenRequest; @@ -1606,9 +1614,9 @@ impl<'a, C, A> WebResourceDeleteCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = SiteVerification::new(hyper::Client::new(), auth); +/// # let mut hub = SiteVerification::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1829,6 +1837,7 @@ impl<'a, C, A> WebResourceGetTokenCall<'a, C, A> where C: BorrowMut WebResourceGetTokenCall<'a, C, A> where C: BorrowMut::default(), None); -/// # let mut hub = SiteVerification::new(hyper::Client::new(), auth); +/// # let mut hub = SiteVerification::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2095,6 +2104,7 @@ impl<'a, C, A> WebResourceUpdateCall<'a, C, A> where C: BorrowMut /// /// ```test_harness,no_run /// # extern crate hyper; +/// # extern crate hyper_rustls; /// # extern crate yup_oauth2 as oauth2; /// # extern crate google_siteverification1 as siteverification1; /// use siteverification1::SiteVerificationWebResourceResource; @@ -2105,9 +2115,9 @@ impl<'a, C, A> WebResourceUpdateCall<'a, C, A> where C: BorrowMut /// /// # let secret: ApplicationSecret = Default::default(); /// # let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// # hyper::Client::new(), +/// # hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), /// # ::default(), None); -/// # let mut hub = SiteVerification::new(hyper::Client::new(), auth); +/// # let mut hub = SiteVerification::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/slides1-cli/Cargo.toml b/gen/slides1-cli/Cargo.toml deleted file mode 100644 index a470598ca6..0000000000 --- a/gen/slides1-cli/Cargo.toml +++ /dev/null @@ -1,37 +0,0 @@ -# DO NOT EDIT ! -# This file was generated automatically from 'src/mako/Cargo.toml.mako' -# DO NOT EDIT ! -[package] - -name = "google-slides1-cli" -version = "1.0.4+20170509" -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" -homepage = "https://developers.google.com/slides/" -documentation = "http://byron.github.io/google-apis-rs/google_slides1_cli" -license = "MIT" -keywords = ["slides", "google", "cli"] - -[[bin]] -name = "slides1" - -[dependencies] -hyper = "^ 0.10" -mime = "^ 0.2.0" -serde = "^ 0.9" -serde_json = "^ 0.9" -serde_derive = "^ 0.9" -yup-oauth2 = "^ 1.0" -strsim = "^0.5" -hyper-rustls = "^0.6" -yup-hyper-mock = "^2.0" -clap = "^2.0" - -[features] - - - -[dependencies.google-slides1] -path = "../slides1" -version = "1.0.4+20170509" diff --git a/gen/slides1-cli/LICENSE.md b/gen/slides1-cli/LICENSE.md deleted file mode 100644 index ff523b4547..0000000000 --- a/gen/slides1-cli/LICENSE.md +++ /dev/null @@ -1,30 +0,0 @@ - -The MIT License (MIT) -===================== - -Copyright © `2015-2016` `Sebastian Thiel` - -Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated documentation -files (the “Software”), to deal in the Software without -restriction, including without limitation the rights to use, -copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the -Software is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -OTHER DEALINGS IN THE SOFTWARE. diff --git a/gen/slides1-cli/README.md b/gen/slides1-cli/README.md deleted file mode 100644 index 298a492a97..0000000000 --- a/gen/slides1-cli/README.md +++ /dev/null @@ -1,117 +0,0 @@ - -The `slides1` command-line interface *(CLI)* allows to use most features of the *Google Slides* service from the comfort of your terminal. - -By default all output is printed to standard out, but flags can be set to direct it into a file independent of your shell's -capabilities. Errors will be printed to standard error, and cause the program's exit code to be non-zero. - -If data-structures are requested, these will be returned as pretty-printed JSON, to be useful as input to other tools. - -Everything else about the *Slides* API can be found at the -[official documentation site](https://developers.google.com/slides/). - -# Installation and Source Code - -Install the command-line interface with cargo using: - -```bash -cargo install google-slides1-cli -``` - -Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/master/gen/slides1-cli). - -# Usage - -This documentation was generated from the *Slides* API at revision *20161213*. The CLI is at version *1.0.4*. - -```bash -slides1 [options] - presentations - batch-update (-r )... [-p ]... [-o ] - create (-r )... [-p ]... [-o ] - get [-p ]... [-o ] - pages-get [-p ]... [-o ] - slides1 --help - -Configuration: - [--scope ]... - Specify the authentication a method should be executed in. Each scope - requires the user to grant this application permission to use it. - If unset, it defaults to the shortest scope url for a particular method. - --config-dir - A directory into which we will store our persistent data. Defaults to - a user-writable directory that we will create during the first invocation. - [default: ~/.google-service-cli] - --debug - Output all server communication to standard error. `tx` and `rx` are placed - into the same stream. - --debug-auth - Output all communication related to authentication to standard error. `tx` - and `rx` are placed into the same stream. - -``` - -# Configuration - -The program will store all persistent data in the `~/.google-service-cli` directory in *JSON* files prefixed with `slides1-`. You can change the directory used to store configuration with the `--config-dir` flag on a per-invocation basis. - -More information about the various kinds of persistent data are given in the following paragraphs. - -# Authentication - -Most APIs require a user to authenticate any request. If this is the case, the [scope][scopes] determines the -set of permissions granted. The granularity of these is usually no more than *read-only* or *full-access*. - -If not set, the system will automatically select the smallest feasible scope, e.g. when invoking a -method that is read-only, it will ask only for a read-only scope. -You may use the `--scope` flag to specify a scope directly. -All applicable scopes are documented in the respective method's CLI documentation. - -The first time a scope is used, the user is asked for permission. Follow the instructions given -by the CLI to grant permissions, or to decline. - -If a scope was authenticated by the user, the respective information will be stored as *JSON* in the configuration -directory, e.g. `~/.google-service-cli/slides1-token-.json`. No manual management of these tokens -is necessary. - -To revoke granted authentication, please refer to the [official documentation][revoke-access]. - -# Application Secrets - -In order to allow any application to use Google services, it will need to be registered using the -[Google Developer Console][google-dev-console]. APIs the application may use are then enabled for it -one by one. Most APIs can be used for free and have a daily quota. - -To allow more comfortable usage of the CLI without forcing anyone to register an own application, the CLI -comes with a default application secret that is configured accordingly. This also means that heavy usage -all around the world may deplete the daily quota. - -You can workaround this limitation by putting your own secrets file at this location: -`~/.google-service-cli/slides1-secret.json`, assuming that the required *slides* API -was enabled for it. Such a secret file can be downloaded in the *Google Developer Console* at -*APIs & auth -> Credentials -> Download JSON* and used as is. - -Learn more about how to setup Google projects and enable APIs using the [official documentation][google-project-new]. - - -# Debugging - -Even though the CLI does its best to provide usable error messages, sometimes it might be desirable to know -what exactly led to a particular issue. This is done by allowing all client-server communication to be -output to standard error *as-is*. - -The `--debug` flag will print all client-server communication to standard error, whereas the `--debug-auth` flag -will cause all communication related to authentication to standard error. -If the `--debug` flag is set, error-results will be debug-printed, possibly yielding more information about the -issue at hand. - -You may consider redirecting standard error into a file for ease of use, e.g. `slides1 --debug [options] 2>debug.txt`. - - -[scopes]: https://developers.google.com/+/api/oauth#scopes -[revoke-access]: http://webapps.stackexchange.com/a/30849 -[google-dev-console]: https://console.developers.google.com/ -[google-project-new]: https://developers.google.com/console/help/new/ \ No newline at end of file diff --git a/gen/slides1-cli/mkdocs.yml b/gen/slides1-cli/mkdocs.yml deleted file mode 100644 index 4017e4abab..0000000000 --- a/gen/slides1-cli/mkdocs.yml +++ /dev/null @@ -1,20 +0,0 @@ -site_name: Slides v1.0.4+20161213 -site_url: http://byron.github.io/google-apis-rs/google-slides1-cli -site_description: A complete library to interact with Slides (protocol v1) - -repo_url: https://github.com/Byron/google-apis-rs/tree/master/gen/slides1-cli - -docs_dir: docs -site_dir: build_html - -pages: -- ['index.md', 'Home'] -- ['presentations_batch-update.md', 'Presentations', 'Batch Update'] -- ['presentations_create.md', 'Presentations', 'Create'] -- ['presentations_get.md', 'Presentations', 'Get'] -- ['presentations_pages-get.md', 'Presentations', 'Pages Get'] - -theme: readthedocs - -copyright: Copyright © 2015-2016, `Sebastian Thiel` - diff --git a/gen/slides1-cli/src/cmn.rs b/gen/slides1-cli/src/cmn.rs deleted file mode 100644 index 6cc030e9c4..0000000000 --- a/gen/slides1-cli/src/cmn.rs +++ /dev/null @@ -1,747 +0,0 @@ -// COPY OF 'src/rust/cli/cmn.rs' -// DO NOT EDIT -use oauth2::{ApplicationSecret, ConsoleApplicationSecret, TokenStorage, Token}; -use serde_json as json; -use serde_json::value::Value; -use mime::Mime; -use clap::{App, SubCommand}; -use strsim; - -use std::fs; -use std::env; -use std::io; -use std::error::Error as StdError; -use std::fmt; -use std::path::{Path, PathBuf}; -use std::str::FromStr; -use std::string::ToString; -use std::io::{Write, Read, stdout}; - -use std::default::Default; - -const FIELD_SEP: char = '.'; - - -pub enum ComplexType { - Pod, - Vec, - Map, -} - - // Null, - // Bool(bool), - // I64(i64), - // U64(u64), - // F64(f64), - // String(String), - -pub enum JsonType { - Boolean, - Int, - Uint, - Float, - String, -} - -pub struct JsonTypeInfo { - pub jtype: JsonType, - pub ctype: ComplexType, -} - -// Based on @erickt user comment. Thanks for the idea ! -// Remove all keys whose values are null from given value (changed in place) -pub fn remove_json_null_values(value: &mut Value) { - match *value { - Value::Object(ref mut map) => { - let mut for_removal = Vec::new(); - - for (key, mut value) in map.iter_mut() { - if value.is_null() { - for_removal.push(key.clone()); - } else { - remove_json_null_values(&mut value); - } - } - - for key in &for_removal { - map.remove(key); - } - } - _ => {} - } -} - -fn did_you_mean<'a>(v: &str, possible_values: &[&'a str]) -> Option<&'a str> { - - let mut candidate: Option<(f64, &str)> = None; - for pv in possible_values { - let confidence = strsim::jaro_winkler(v, pv); - if confidence > 0.8 && (candidate.is_none() || (candidate.as_ref().unwrap().0 < confidence)) { - candidate = Some((confidence, pv)); - } - } - match candidate { - None => None, - Some((_, candidate)) => Some(candidate), - } -} - -pub enum CallType { - Upload(UploadProtocol), - Standard, -} - -arg_enum!{ - pub enum UploadProtocol { - Simple, - Resumable - } -} - -impl AsRef for UploadProtocol { - fn as_ref(&self) -> &str { - match *self { - UploadProtocol::Simple => "simple", - UploadProtocol::Resumable => "resumable" - } - } -} - -impl AsRef for CallType { - fn as_ref(&self) -> &str { - match *self { - CallType::Upload(ref proto) => proto.as_ref(), - CallType::Standard => "standard-request" - } - } -} - -#[derive(Clone, Default)] -pub struct FieldCursor(Vec); - -impl ToString for FieldCursor { - fn to_string(&self) -> String { - self.0.join(".") - } -} - -impl From<&'static str> for FieldCursor { - fn from(value: &'static str) -> FieldCursor { - let mut res = FieldCursor::default(); - res.set(value).unwrap(); - res - } -} - -fn assure_entry<'a, 'b>(m: &'a mut json::Map, k: &'b String) -> &'a mut Value { - if m.contains_key(k) { - return m.get_mut(k).expect("value to exist") - } - m.insert(k.to_owned(), Value::Object(Default::default())); - m.get_mut(k).expect("value to exist") -} - -impl FieldCursor { - pub fn set(&mut self, value: &str) -> Result<(), CLIError> { - if value.len() == 0 { - return Err(CLIError::Field(FieldError::Empty)) - } - - let mut first_is_field_sep = false; - let mut char_count: usize = 0; - let mut last_c = FIELD_SEP; - let mut num_conscutive_field_seps = 0; - - let mut field = String::new(); - let mut fields = self.0.clone(); - - let push_field = |fs: &mut Vec, f: &mut String| { - if f.len() > 0 { - fs.push(f.clone()); - f.truncate(0); - } - }; - - for (cid, c) in value.chars().enumerate() { - char_count += 1; - - if c == FIELD_SEP { - if cid == 0 { - first_is_field_sep = true; - } - num_conscutive_field_seps += 1; - if cid > 0 && last_c == FIELD_SEP { - if fields.pop().is_none() { - return Err(CLIError::Field(FieldError::PopOnEmpty(value.to_string()))) - } - } else { - push_field(&mut fields, &mut field); - } - } else { - num_conscutive_field_seps = 0; - if cid == 1 { - if first_is_field_sep { - fields.truncate(0); - } - } - field.push(c); - } - - last_c = c; - } - - push_field(&mut fields, &mut field); - - if char_count == 1 && first_is_field_sep { - fields.truncate(0); - } - if char_count > 1 && num_conscutive_field_seps == 1 { - return Err(CLIError::Field(FieldError::TrailingFieldSep(value.to_string()))) - } - - self.0 = fields; - Ok(()) - } - - pub fn did_you_mean(value: &str, possible_values: &[&str]) -> Option { - if value.len() == 0 { - return None - } - - let mut last_c = FIELD_SEP; - - let mut field = String::new(); - let mut output = String::new(); - - let push_field = |fs: &mut String, f: &mut String| { - if f.len() > 0 { - fs.push_str( - match did_you_mean(&f, possible_values) { - Some(candidate) => candidate, - None => &f, - }); - f.truncate(0); - } - }; - - for (cid, c) in value.chars().enumerate() { - if c == FIELD_SEP { - if last_c != FIELD_SEP { - push_field(&mut output, &mut field); - } - output.push(c); - } else { - field.push(c); - } - - last_c = c; - } - - push_field(&mut output, &mut field); - - if &output == value { - None - } else { - Some(output) - } - } - - pub fn set_json_value(&self, mut object: &mut Value, - value: &str, type_info: JsonTypeInfo, - err: &mut InvalidOptionsError, - orig_cursor: &FieldCursor) { - assert!(self.0.len() > 0); - - for field in &self.0[..self.0.len()-1] { - let tmp = object; - object = - match *tmp { - Value::Object(ref mut mapping) => { - assure_entry(mapping, &field) - }, - _ => panic!("We don't expect non-object Values here ...") - }; - } - - match *object { - Value::Object(ref mut mapping) => { - let field = &self.0[self.0.len()-1]; - let to_jval = - |value: &str, jtype: JsonType, err: &mut InvalidOptionsError| - -> Value { - match jtype { - JsonType::Boolean => - Value::Bool(arg_from_str(value, err, &field, "boolean")), - JsonType::Int => - Value::Number(json::Number::from_f64(arg_from_str(value, err, &field, "int")).expect("valid f64")), - JsonType::Uint => - Value::Number(json::Number::from_f64(arg_from_str(value, err, &field, "uint")).expect("valid f64")), - JsonType::Float => - Value::Number(json::Number::from_f64(arg_from_str(value, err, &field, "float")).expect("valid f64")), - JsonType::String => - Value::String(value.to_owned()), - } - }; - - match type_info.ctype { - ComplexType::Pod => { - if mapping.insert(field.to_owned(), to_jval(value, type_info.jtype, err)).is_some() { - err.issues.push(CLIError::Field(FieldError::Duplicate(orig_cursor.to_string()))); - } - }, - ComplexType::Vec => { - match *assure_entry(mapping, field) { - Value::Array(ref mut values) => values.push(to_jval(value, type_info.jtype, err)), - _ => unreachable!() - } - }, - ComplexType::Map => { - let (key, value) = parse_kv_arg(value, err, true); - let jval = to_jval(value.unwrap_or(""), type_info.jtype, err); - - match *assure_entry(mapping, &field) { - - Value::Object(ref mut value_map) => { - if value_map.insert(key.to_owned(), jval).is_some() { - err.issues.push(CLIError::Field(FieldError::Duplicate(orig_cursor.to_string()))); - } - } - _ => unreachable!() - } - } - } - }, - _ => unreachable!() - } - } - - pub fn num_fields(&self) -> usize { - self.0.len() - } -} - -pub fn parse_kv_arg<'a>(kv: &'a str, err: &mut InvalidOptionsError, for_hashmap: bool) - -> (&'a str, Option<&'a str>) { - let mut add_err = || err.issues.push(CLIError::InvalidKeyValueSyntax(kv.to_string(),for_hashmap)); - match kv.find('=') { - None => { - add_err(); - return (kv, None) - }, - Some(pos) => { - let key = &kv[..pos]; - if kv.len() <= pos + 1 { - add_err(); - return (key, Some("")) - } - (key, Some(&kv[pos+1..])) - } - } -} - -pub fn calltype_from_str(name: &str, valid_protocols: Vec, err: &mut InvalidOptionsError) -> CallType { - CallType::Upload( - match UploadProtocol::from_str(name) { - Ok(up) => up, - Err(msg) => { - err.issues.push(CLIError::InvalidUploadProtocol(name.to_string(), valid_protocols)); - UploadProtocol::Simple - } - }) -} - -pub fn input_file_from_opts(file_path: &str, err: &mut InvalidOptionsError) -> Option { - match fs::File::open(file_path) { - Ok(f) => Some(f), - Err(io_err) => { - err.issues.push(CLIError::Input(InputError::Io((file_path.to_string(), io_err)))); - None - } - } -} - -pub fn input_mime_from_opts(mime: &str, err: &mut InvalidOptionsError) -> Option { - match mime.parse() { - Ok(m) => Some(m), - Err(_) => { - err.issues.push(CLIError::Input(InputError::Mime(mime.to_string()))); - None - } - } -} - -pub fn writer_from_opts(arg: Option<&str>) -> Result, io::Error> { - let f = arg.unwrap_or("-"); - match f { - "-" => Ok(Box::new(stdout())), - _ => match fs::OpenOptions::new().create(true).write(true).open(f) { - Ok(f) => Ok(Box::new(f)), - Err(io_err) => Err(io_err), - } - } -} - - -pub fn arg_from_str<'a, T>(arg: &str, err: &mut InvalidOptionsError, - arg_name: &'a str, - arg_type: &'a str) -> T - where T: FromStr + Default, - ::Err: fmt::Display { - match FromStr::from_str(arg) { - Err(perr) => { - err.issues.push( - CLIError::ParseError(arg_name.to_owned(), arg_type.to_owned(), arg.to_string(), format!("{}", perr)) - ); - Default::default() - }, - Ok(v) => v, - } -} - -pub struct JsonTokenStorage { - pub program_name: &'static str, - pub db_dir: String, -} - -impl JsonTokenStorage { - fn path(&self, scope_hash: u64) -> PathBuf { - Path::new(&self.db_dir).join(&format!("{}-token-{}.json", self.program_name, scope_hash)) - } -} - - -#[derive(Debug)] -pub enum TokenStorageError { - Json(json::Error), - Io(io::Error), -} - -impl fmt::Display for TokenStorageError { - fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> { - match *self { - TokenStorageError::Json(ref err) - => writeln!(f, "Could not serialize secrets: {}", err), - TokenStorageError::Io(ref err) - => writeln!(f, "Failed to write secret token: {}", err), - } - } -} - -impl StdError for TokenStorageError { - fn description(&self) -> &str { - "Failure when getting or setting the token storage" - } -} - - -impl TokenStorage for JsonTokenStorage { - type Error = TokenStorageError; - - // NOTE: logging might be interesting, currently we swallow all errors - fn set(&mut self, scope_hash: u64, _: &Vec<&str>, token: Option) -> Result<(), TokenStorageError> { - match token { - None => { - match fs::remove_file(self.path(scope_hash)) { - Err(err) => - match err.kind() { - io::ErrorKind::NotFound => Ok(()), - _ => Err(TokenStorageError::Io(err)) - }, - Ok(_) => Ok(()), - } - } - Some(token) => { - match fs::OpenOptions::new().create(true).write(true).open(&self.path(scope_hash)) { - Ok(mut f) => { - match json::to_writer_pretty(&mut f, &token) { - Ok(_) => Ok(()), - Err(serde_err) => Err(TokenStorageError::Json(serde_err)), - } - }, - Err(io_err) => Err(TokenStorageError::Io(io_err)) - } - } - } - } - - fn get(&self, scope_hash: u64, _: &Vec<&str>) -> Result, TokenStorageError> { - match fs::File::open(&self.path(scope_hash)) { - Ok(f) => { - match json::de::from_reader(f) { - Ok(token) => Ok(Some(token)), - Err(err) => Err(TokenStorageError::Json(err)), - } - }, - Err(io_err) => { - match io_err.kind() { - io::ErrorKind::NotFound => Ok(None), - _ => Err(TokenStorageError::Io(io_err)) - } - } - } - } -} - - -#[derive(Debug)] -pub enum ApplicationSecretError { - DecoderError((String, json::Error)), - FormatError(String), -} - -impl fmt::Display for ApplicationSecretError { - fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> { - match *self { - ApplicationSecretError::DecoderError((ref path, ref err)) - => writeln!(f, "Could not decode file at '{}' with error: {}.", - path, err), - ApplicationSecretError::FormatError(ref path) - => writeln!(f, "'installed' field is unset in secret file at '{}'.", - path), - } - } -} - -#[derive(Debug)] -pub enum ConfigurationError { - DirectoryCreationFailed((String, io::Error)), - DirectoryUnset, - HomeExpansionFailed(String), - Secret(ApplicationSecretError), - Io((String, io::Error)), -} - -impl fmt::Display for ConfigurationError { - fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> { - match *self { - ConfigurationError::DirectoryCreationFailed((ref dir, ref err)) - => writeln!(f, "Directory '{}' could not be created with error: {}.", dir, err), - ConfigurationError::DirectoryUnset - => writeln!(f, "--config-dir was unset or empty."), - ConfigurationError::HomeExpansionFailed(ref dir) - => writeln!(f, "Couldn't find HOME directory of current user, failed to expand '{}'.", dir), - ConfigurationError::Secret(ref err) - => writeln!(f, "Secret -> {}", err), - ConfigurationError::Io((ref path, ref err)) - => writeln!(f, "IO operation failed on path '{}' with error: {}.", path, err), - } - } -} - -#[derive(Debug)] -pub enum InputError { - Io((String, io::Error)), - Mime(String), -} - -impl fmt::Display for InputError { - fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> { - match *self { - InputError::Io((ref file_path, ref io_err)) - => writeln!(f, "Failed to open '{}' for reading with error: {}.", file_path, io_err), - InputError::Mime(ref mime) - => writeln!(f, "'{}' is not a known mime-type.", mime), - } - } -} - -#[derive(Debug)] -pub enum FieldError { - PopOnEmpty(String), - TrailingFieldSep(String), - Unknown(String, Option, Option), - Duplicate(String), - Empty, -} - - -impl fmt::Display for FieldError { - fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> { - match *self { - FieldError::PopOnEmpty(ref field) - => writeln!(f, "'{}': Cannot move up on empty field cursor.", field), - FieldError::TrailingFieldSep(ref field) - => writeln!(f, "'{}': Single field separator may not be last character.", field), - FieldError::Unknown(ref field, ref suggestion, ref value) => { - let suffix = - match *suggestion { - Some(ref s) => { - let kv = - match *value { - Some(ref v) => format!("{}={}", s, v), - None => s.clone(), - }; - format!(" Did you mean '{}' ?", kv) - }, - None => String::new(), - }; - writeln!(f, "Field '{}' does not exist.{}", field, suffix) - }, - FieldError::Duplicate(ref cursor) - => writeln!(f, "Value at '{}' was already set", cursor), - FieldError::Empty - => writeln!(f, "Field names must not be empty."), - } - } -} - - -#[derive(Debug)] -pub enum CLIError { - Configuration(ConfigurationError), - ParseError(String, String, String, String), - UnknownParameter(String, Vec<&'static str>), - InvalidUploadProtocol(String, Vec), - InvalidKeyValueSyntax(String, bool), - Input(InputError), - Field(FieldError), - MissingCommandError, - MissingMethodError(String), -} - -impl fmt::Display for CLIError { - fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> { - match *self { - CLIError::Configuration(ref err) => write!(f, "Configuration -> {}", err), - CLIError::Input(ref err) => write!(f, "Input -> {}", err), - CLIError::Field(ref err) => write!(f, "Field -> {}", err), - CLIError::InvalidUploadProtocol(ref proto_name, ref valid_names) - => writeln!(f, "'{}' is not a valid upload protocol. Choose from one of {}.", proto_name, valid_names.join(", ")), - CLIError::ParseError(ref arg_name, ref type_name, ref value, ref err_desc) - => writeln!(f, "Failed to parse argument '{}' with value '{}' as {} with error: {}.", - arg_name, value, type_name, err_desc), - CLIError::UnknownParameter(ref param_name, ref possible_values) => { - let suffix = - match did_you_mean(param_name, &possible_values) { - Some(v) => format!(" Did you mean '{}' ?", v), - None => String::new(), - }; - write!(f, "Parameter '{}' is unknown.{}\n", param_name, suffix) - }, - CLIError::InvalidKeyValueSyntax(ref kv, is_hashmap) => { - let hashmap_info = if is_hashmap { "hashmap " } else { "" }; - writeln!(f, "'{}' does not match {}pattern =.", kv, hashmap_info) - }, - CLIError::MissingCommandError => writeln!(f, "Please specify the main sub-command."), - CLIError::MissingMethodError(ref cmd) => writeln!(f, "Please specify the method to call on the '{}' command.", cmd), - } - } -} - -#[derive(Debug)] -pub struct InvalidOptionsError { - pub issues: Vec, - pub exit_code: i32, -} - -impl fmt::Display for InvalidOptionsError { - fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> { - for issue in &self.issues { - try!(issue.fmt(f)); - } - Ok(()) - } -} - -impl InvalidOptionsError { - pub fn single(err: CLIError, exit_code: i32) -> InvalidOptionsError { - InvalidOptionsError { - issues: vec![err], - exit_code: exit_code, - } - } - - pub fn new() -> InvalidOptionsError { - InvalidOptionsError { - issues: Vec::new(), - exit_code: 1, - } - } -} - -pub fn assure_config_dir_exists(dir: &str) -> Result { - let trdir = dir.trim(); - if trdir.len() == 0 { - return Err(CLIError::Configuration(ConfigurationError::DirectoryUnset)) - } - - let expanded_config_dir = - if trdir.as_bytes()[0] == b'~' { - match env::var("HOME").ok().or(env::var("UserProfile").ok()) { - None => return Err(CLIError::Configuration(ConfigurationError::HomeExpansionFailed(trdir.to_string()))), - Some(mut user) => { - user.push_str(&trdir[1..]); - user - } - } - } else { - trdir.to_string() - }; - - if let Err(err) = fs::create_dir(&expanded_config_dir) { - if err.kind() != io::ErrorKind::AlreadyExists { - return Err(CLIError::Configuration( - ConfigurationError::DirectoryCreationFailed((expanded_config_dir, err)))) - } - } - - Ok(expanded_config_dir) -} - -pub fn application_secret_from_directory(dir: &str, - secret_basename: &str, - json_console_secret: &str) - -> Result { - let secret_path = Path::new(dir).join(secret_basename); - let secret_str = || secret_path.as_path().to_str().unwrap().to_string(); - let secret_io_error = |io_err: io::Error| { - Err(CLIError::Configuration(ConfigurationError::Io( - (secret_str(), io_err) - ))) - }; - - for _ in 0..2 { - match fs::File::open(&secret_path) { - Err(mut err) => { - if err.kind() == io::ErrorKind::NotFound { - // Write our built-in one - user may adjust the written file at will - - err = match fs::OpenOptions::new().create(true).write(true).open(&secret_path) { - Err(cfe) => cfe, - Ok(mut f) => { - // Assure we convert 'ugly' json string into pretty one - let console_secret: ConsoleApplicationSecret - = json::from_str(json_console_secret).unwrap(); - match json::to_writer_pretty(&mut f, &console_secret) { - Err(serde_err) => panic!("Unexpected serde error: {:#?}", serde_err), - Ok(_) => continue, - } - } - }; - // fall through to IO error handling - } - return secret_io_error(err) - }, - Ok(f) => { - match json::de::from_reader::<_, ConsoleApplicationSecret>(f) { - Err(json_err) => - return Err(CLIError::Configuration( - ConfigurationError::Secret( - ApplicationSecretError::DecoderError( - (secret_str(), json_err) - )))), - Ok(console_secret) => - match console_secret.installed { - Some(secret) => return Ok(secret), - None => return Err( - CLIError::Configuration( - ConfigurationError::Secret( - ApplicationSecretError::FormatError(secret_str()) - ))) - }, - } - } - } - } - unreachable!(); -} diff --git a/gen/slides1-cli/src/main.rs b/gen/slides1-cli/src/main.rs deleted file mode 100644 index b0fbe26cf3..0000000000 --- a/gen/slides1-cli/src/main.rs +++ /dev/null @@ -1,661 +0,0 @@ -// DO NOT EDIT ! -// This file was generated automatically from 'src/mako/cli/main.rs.mako' -// DO NOT EDIT ! -#![allow(unused_variables, unused_imports, dead_code, unused_mut)] - -#[macro_use] -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; -extern crate mime; -extern crate strsim; -extern crate google_slides1 as api; - -use std::env; -use std::io::{self, Write}; -use clap::{App, SubCommand, Arg}; - -mod cmn; - -use cmn::{InvalidOptionsError, CLIError, JsonTokenStorage, arg_from_str, writer_from_opts, parse_kv_arg, - input_file_from_opts, input_mime_from_opts, FieldCursor, FieldError, CallType, UploadProtocol, - calltype_from_str, remove_json_null_values, ComplexType, JsonType, JsonTypeInfo}; - -use std::default::Default; -use std::str::FromStr; - -use oauth2::{Authenticator, DefaultAuthenticatorDelegate, FlowType}; -use serde_json as json; -use clap::ArgMatches; - -enum DoitError { - IoError(String, io::Error), - ApiError(api::Error), -} - -struct Engine<'n> { - opt: ArgMatches<'n>, - hub: api::Slides>, - gp: Vec<&'static str>, - gpm: Vec<(&'static str, &'static str)>, -} - - -impl<'n> Engine<'n> { - fn _presentations_batch_update(&self, opt: &ArgMatches<'n>, dry_run: bool, err: &mut InvalidOptionsError) - -> Result<(), DoitError> { - - let mut field_cursor = FieldCursor::default(); - let mut object = json::value::Value::Object(Default::default()); - - for kvarg in opt.values_of("kv").map(|i|i.collect()).unwrap_or(Vec::new()).iter() { - let last_errc = err.issues.len(); - let (key, value) = parse_kv_arg(&*kvarg, err, false); - let mut temp_cursor = field_cursor.clone(); - if let Err(field_err) = temp_cursor.set(&*key) { - err.issues.push(field_err); - } - if value.is_none() { - field_cursor = temp_cursor.clone(); - if err.issues.len() > last_errc { - err.issues.remove(last_errc); - } - continue; - } - - let type_info: Option<(&'static str, JsonTypeInfo)> = - match &temp_cursor.to_string()[..] { - _ => { - let suggestion = FieldCursor::did_you_mean(key, &vec![]); - err.issues.push(CLIError::Field(FieldError::Unknown(temp_cursor.to_string(), suggestion, value.map(|v| v.to_string())))); - None - } - }; - if let Some((field_cursor_str, type_info)) = type_info { - FieldCursor::from(field_cursor_str).set_json_value(&mut object, value.unwrap(), type_info, err, &temp_cursor); - } - } - let mut request: api::BatchUpdatePresentationRequest = json::value::from_value(object).unwrap(); - let mut call = self.hub.presentations().batch_update(request, opt.value_of("presentation-id").unwrap_or("")); - for parg in opt.values_of("v").map(|i|i.collect()).unwrap_or(Vec::new()).iter() { - let (key, value) = parse_kv_arg(&*parg, err, false); - match key { - _ => { - let mut found = false; - for param in &self.gp { - if key == *param { - found = true; - call = call.param(self.gpm.iter().find(|t| t.0 == key).unwrap_or(&("", key)).1, value.unwrap_or("unset")); - break; - } - } - if !found { - err.issues.push(CLIError::UnknownParameter(key.to_string(), - {let mut v = Vec::new(); - v.extend(self.gp.iter().map(|v|*v)); - v } )); - } - } - } - } - let protocol = CallType::Standard; - if dry_run { - Ok(()) - } else { - assert!(err.issues.len() == 0); - for scope in self.opt.values_of("url").map(|i|i.collect()).unwrap_or(Vec::new()).iter() { - call = call.add_scope(scope); - } - let mut ostream = match writer_from_opts(opt.value_of("out")) { - Ok(mut f) => f, - Err(io_err) => return Err(DoitError::IoError(opt.value_of("out").unwrap_or("-").to_string(), io_err)), - }; - match match protocol { - CallType::Standard => call.doit(), - _ => unreachable!() - } { - Err(api_err) => Err(DoitError::ApiError(api_err)), - Ok((mut response, output_schema)) => { - let mut value = json::value::to_value(&output_schema).expect("serde to work"); - remove_json_null_values(&mut value); - json::to_writer_pretty(&mut ostream, &value).unwrap(); - ostream.flush().unwrap(); - Ok(()) - } - } - } - } - - fn _presentations_create(&self, opt: &ArgMatches<'n>, dry_run: bool, err: &mut InvalidOptionsError) - -> Result<(), DoitError> { - - let mut field_cursor = FieldCursor::default(); - let mut object = json::value::Value::Object(Default::default()); - - for kvarg in opt.values_of("kv").map(|i|i.collect()).unwrap_or(Vec::new()).iter() { - let last_errc = err.issues.len(); - let (key, value) = parse_kv_arg(&*kvarg, err, false); - let mut temp_cursor = field_cursor.clone(); - if let Err(field_err) = temp_cursor.set(&*key) { - err.issues.push(field_err); - } - if value.is_none() { - field_cursor = temp_cursor.clone(); - if err.issues.len() > last_errc { - err.issues.remove(last_errc); - } - continue; - } - - let type_info: Option<(&'static str, JsonTypeInfo)> = - match &temp_cursor.to_string()[..] { - "locale" => Some(("locale", JsonTypeInfo { jtype: JsonType::String, ctype: ComplexType::Pod })), - "presentation-id" => Some(("presentationId", JsonTypeInfo { jtype: JsonType::String, ctype: ComplexType::Pod })), - "page-size.width.magnitude" => Some(("pageSize.width.magnitude", JsonTypeInfo { jtype: JsonType::Float, ctype: ComplexType::Pod })), - "page-size.width.unit" => Some(("pageSize.width.unit", JsonTypeInfo { jtype: JsonType::String, ctype: ComplexType::Pod })), - "page-size.height.magnitude" => Some(("pageSize.height.magnitude", JsonTypeInfo { jtype: JsonType::Float, ctype: ComplexType::Pod })), - "page-size.height.unit" => Some(("pageSize.height.unit", JsonTypeInfo { jtype: JsonType::String, ctype: ComplexType::Pod })), - "title" => Some(("title", JsonTypeInfo { jtype: JsonType::String, ctype: ComplexType::Pod })), - _ => { - let suggestion = FieldCursor::did_you_mean(key, &vec!["height", "locale", "magnitude", "page-size", "presentation-id", "title", "unit", "width"]); - err.issues.push(CLIError::Field(FieldError::Unknown(temp_cursor.to_string(), suggestion, value.map(|v| v.to_string())))); - None - } - }; - if let Some((field_cursor_str, type_info)) = type_info { - FieldCursor::from(field_cursor_str).set_json_value(&mut object, value.unwrap(), type_info, err, &temp_cursor); - } - } - let mut request: api::Presentation = json::value::from_value(object).unwrap(); - let mut call = self.hub.presentations().create(request); - for parg in opt.values_of("v").map(|i|i.collect()).unwrap_or(Vec::new()).iter() { - let (key, value) = parse_kv_arg(&*parg, err, false); - match key { - _ => { - let mut found = false; - for param in &self.gp { - if key == *param { - found = true; - call = call.param(self.gpm.iter().find(|t| t.0 == key).unwrap_or(&("", key)).1, value.unwrap_or("unset")); - break; - } - } - if !found { - err.issues.push(CLIError::UnknownParameter(key.to_string(), - {let mut v = Vec::new(); - v.extend(self.gp.iter().map(|v|*v)); - v } )); - } - } - } - } - let protocol = CallType::Standard; - if dry_run { - Ok(()) - } else { - assert!(err.issues.len() == 0); - for scope in self.opt.values_of("url").map(|i|i.collect()).unwrap_or(Vec::new()).iter() { - call = call.add_scope(scope); - } - let mut ostream = match writer_from_opts(opt.value_of("out")) { - Ok(mut f) => f, - Err(io_err) => return Err(DoitError::IoError(opt.value_of("out").unwrap_or("-").to_string(), io_err)), - }; - match match protocol { - CallType::Standard => call.doit(), - _ => unreachable!() - } { - Err(api_err) => Err(DoitError::ApiError(api_err)), - Ok((mut response, output_schema)) => { - let mut value = json::value::to_value(&output_schema).expect("serde to work"); - remove_json_null_values(&mut value); - json::to_writer_pretty(&mut ostream, &value).unwrap(); - ostream.flush().unwrap(); - Ok(()) - } - } - } - } - - fn _presentations_get(&self, opt: &ArgMatches<'n>, dry_run: bool, err: &mut InvalidOptionsError) - -> Result<(), DoitError> { - let mut call = self.hub.presentations().get(opt.value_of("presentation-id").unwrap_or("")); - for parg in opt.values_of("v").map(|i|i.collect()).unwrap_or(Vec::new()).iter() { - let (key, value) = parse_kv_arg(&*parg, err, false); - match key { - _ => { - let mut found = false; - for param in &self.gp { - if key == *param { - found = true; - call = call.param(self.gpm.iter().find(|t| t.0 == key).unwrap_or(&("", key)).1, value.unwrap_or("unset")); - break; - } - } - if !found { - err.issues.push(CLIError::UnknownParameter(key.to_string(), - {let mut v = Vec::new(); - v.extend(self.gp.iter().map(|v|*v)); - v } )); - } - } - } - } - let protocol = CallType::Standard; - if dry_run { - Ok(()) - } else { - assert!(err.issues.len() == 0); - for scope in self.opt.values_of("url").map(|i|i.collect()).unwrap_or(Vec::new()).iter() { - call = call.add_scope(scope); - } - let mut ostream = match writer_from_opts(opt.value_of("out")) { - Ok(mut f) => f, - Err(io_err) => return Err(DoitError::IoError(opt.value_of("out").unwrap_or("-").to_string(), io_err)), - }; - match match protocol { - CallType::Standard => call.doit(), - _ => unreachable!() - } { - Err(api_err) => Err(DoitError::ApiError(api_err)), - Ok((mut response, output_schema)) => { - let mut value = json::value::to_value(&output_schema).expect("serde to work"); - remove_json_null_values(&mut value); - json::to_writer_pretty(&mut ostream, &value).unwrap(); - ostream.flush().unwrap(); - Ok(()) - } - } - } - } - - fn _presentations_pages_get(&self, opt: &ArgMatches<'n>, dry_run: bool, err: &mut InvalidOptionsError) - -> Result<(), DoitError> { - let mut call = self.hub.presentations().pages_get(opt.value_of("presentation-id").unwrap_or(""), opt.value_of("page-object-id").unwrap_or("")); - for parg in opt.values_of("v").map(|i|i.collect()).unwrap_or(Vec::new()).iter() { - let (key, value) = parse_kv_arg(&*parg, err, false); - match key { - _ => { - let mut found = false; - for param in &self.gp { - if key == *param { - found = true; - call = call.param(self.gpm.iter().find(|t| t.0 == key).unwrap_or(&("", key)).1, value.unwrap_or("unset")); - break; - } - } - if !found { - err.issues.push(CLIError::UnknownParameter(key.to_string(), - {let mut v = Vec::new(); - v.extend(self.gp.iter().map(|v|*v)); - v } )); - } - } - } - } - let protocol = CallType::Standard; - if dry_run { - Ok(()) - } else { - assert!(err.issues.len() == 0); - for scope in self.opt.values_of("url").map(|i|i.collect()).unwrap_or(Vec::new()).iter() { - call = call.add_scope(scope); - } - let mut ostream = match writer_from_opts(opt.value_of("out")) { - Ok(mut f) => f, - Err(io_err) => return Err(DoitError::IoError(opt.value_of("out").unwrap_or("-").to_string(), io_err)), - }; - match match protocol { - CallType::Standard => call.doit(), - _ => unreachable!() - } { - Err(api_err) => Err(DoitError::ApiError(api_err)), - Ok((mut response, output_schema)) => { - let mut value = json::value::to_value(&output_schema).expect("serde to work"); - remove_json_null_values(&mut value); - json::to_writer_pretty(&mut ostream, &value).unwrap(); - ostream.flush().unwrap(); - Ok(()) - } - } - } - } - - fn _doit(&self, dry_run: bool) -> Result, Option> { - let mut err = InvalidOptionsError::new(); - let mut call_result: Result<(), DoitError> = Ok(()); - let mut err_opt: Option = None; - match self.opt.subcommand() { - ("presentations", Some(opt)) => { - match opt.subcommand() { - ("batch-update", Some(opt)) => { - call_result = self._presentations_batch_update(opt, dry_run, &mut err); - }, - ("create", Some(opt)) => { - call_result = self._presentations_create(opt, dry_run, &mut err); - }, - ("get", Some(opt)) => { - call_result = self._presentations_get(opt, dry_run, &mut err); - }, - ("pages-get", Some(opt)) => { - call_result = self._presentations_pages_get(opt, dry_run, &mut err); - }, - _ => { - err.issues.push(CLIError::MissingMethodError("presentations".to_string())); - writeln!(io::stderr(), "{}\n", opt.usage()).ok(); - } - } - }, - _ => { - err.issues.push(CLIError::MissingCommandError); - writeln!(io::stderr(), "{}\n", self.opt.usage()).ok(); - } - } - - if dry_run { - if err.issues.len() > 0 { - err_opt = Some(err); - } - Err(err_opt) - } else { - Ok(call_result) - } - } - - // Please note that this call will fail if any part of the opt can't be handled - fn new(opt: ArgMatches<'n>) -> Result, InvalidOptionsError> { - let (config_dir, secret) = { - let config_dir = match cmn::assure_config_dir_exists(opt.value_of("folder").unwrap_or("~/.google-service-cli")) { - Err(e) => return Err(InvalidOptionsError::single(e, 3)), - Ok(p) => p, - }; - - match cmn::application_secret_from_directory(&config_dir, "slides1-secret.json", - "{\"installed\":{\"auth_uri\":\"https://accounts.google.com/o/oauth2/auth\",\"client_secret\":\"hCsslbCUyfehWMmbkG8vTYxG\",\"token_uri\":\"https://accounts.google.com/o/oauth2/token\",\"client_email\":\"\",\"redirect_uris\":[\"urn:ietf:wg:oauth:2.0:oob\",\"oob\"],\"client_x509_cert_url\":\"\",\"client_id\":\"620010449518-9ngf7o4dhs0dka470npqvor6dc5lqb9b.apps.googleusercontent.com\",\"auth_provider_x509_cert_url\":\"https://www.googleapis.com/oauth2/v1/certs\"}}") { - Ok(secret) => (config_dir, secret), - Err(e) => return Err(InvalidOptionsError::single(e, 4)) - } - }; - - let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, - if opt.is_present("debug-auth") { - hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) - }) - } else { - hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) - }, - JsonTokenStorage { - program_name: "slides1", - db_dir: config_dir.clone(), - }, Some(FlowType::InstalledRedirect(54324))); - - let client = - if opt.is_present("debug") { - hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) - }) - } else { - hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) - }; - let engine = Engine { - opt: opt, - hub: api::Slides::new(client, auth), - gp: vec!["$-xgafv", "access-token", "alt", "bearer-token", "callback", "fields", "key", "oauth-token", "pp", "pretty-print", "quota-user", "upload-type", "upload-protocol"], - gpm: vec![ - ("$-xgafv", "$.xgafv"), - ("access-token", "access_token"), - ("bearer-token", "bearer_token"), - ("oauth-token", "oauth_token"), - ("pretty-print", "prettyPrint"), - ("quota-user", "quotaUser"), - ("upload-type", "uploadType"), - ("upload-protocol", "upload_protocol"), - ] - }; - - match engine._doit(true) { - Err(Some(err)) => Err(err), - Err(None) => Ok(engine), - Ok(_) => unreachable!(), - } - } - - fn doit(&self) -> Result<(), DoitError> { - match self._doit(false) { - Ok(res) => res, - Err(_) => unreachable!(), - } - } -} - -fn main() { - let mut exit_status = 0i32; - let arg_data = [ - ("presentations", "methods: 'batch-update', 'create', 'get' and 'pages-get'", vec![ - ("batch-update", - Some(r##"Applies one or more updates to the presentation. - - Each request is validated before - being applied. If any request is not valid, then the entire request will - fail and nothing will be applied. - - Some requests have replies to - give you some information about how they are applied. Other requests do - not need to return information; these each return an empty reply. - The order of replies matches that of the requests. - - For example, suppose you call batchUpdate with four updates, and only the - third one returns information. The response would have two empty replies: - the reply to the third request, and another empty reply, in that order. - - Because other users may be editing the presentation, the presentation - might not exactly reflect your changes: your changes may - be altered with respect to collaborator changes. If there are no - collaborators, the presentation should reflect your changes. In any case, - the updates in your request are guaranteed to be applied together - atomically."##), - "Details at http://byron.github.io/google-apis-rs/google_slides1_cli/presentations_batch-update", - vec![ - (Some(r##"presentation-id"##), - None, - Some(r##"The presentation to apply the updates to."##), - Some(true), - Some(false)), - - (Some(r##"kv"##), - Some(r##"r"##), - Some(r##"Set various fields of the request structure, matching the key=value form"##), - Some(true), - Some(true)), - - (Some(r##"v"##), - Some(r##"p"##), - Some(r##"Set various optional parameters, matching the key=value form"##), - Some(false), - Some(true)), - - (Some(r##"out"##), - Some(r##"o"##), - Some(r##"Specify the file into which to write the program's output"##), - Some(false), - Some(false)), - ]), - ("create", - Some(r##"Creates a new presentation using the title given in the request. Other - fields in the request are ignored. - Returns the created presentation."##), - "Details at http://byron.github.io/google-apis-rs/google_slides1_cli/presentations_create", - vec![ - (Some(r##"kv"##), - Some(r##"r"##), - Some(r##"Set various fields of the request structure, matching the key=value form"##), - Some(true), - Some(true)), - - (Some(r##"v"##), - Some(r##"p"##), - Some(r##"Set various optional parameters, matching the key=value form"##), - Some(false), - Some(true)), - - (Some(r##"out"##), - Some(r##"o"##), - Some(r##"Specify the file into which to write the program's output"##), - Some(false), - Some(false)), - ]), - ("get", - Some(r##"Gets the latest version of the specified presentation."##), - "Details at http://byron.github.io/google-apis-rs/google_slides1_cli/presentations_get", - vec![ - (Some(r##"presentation-id"##), - None, - Some(r##"The ID of the presentation to retrieve."##), - Some(true), - Some(false)), - - (Some(r##"v"##), - Some(r##"p"##), - Some(r##"Set various optional parameters, matching the key=value form"##), - Some(false), - Some(true)), - - (Some(r##"out"##), - Some(r##"o"##), - Some(r##"Specify the file into which to write the program's output"##), - Some(false), - Some(false)), - ]), - ("pages-get", - Some(r##"Gets the latest version of the specified page in the presentation."##), - "Details at http://byron.github.io/google-apis-rs/google_slides1_cli/presentations_pages-get", - vec![ - (Some(r##"presentation-id"##), - None, - Some(r##"The ID of the presentation to retrieve."##), - Some(true), - Some(false)), - - (Some(r##"page-object-id"##), - None, - Some(r##"The object ID of the page to retrieve."##), - Some(true), - Some(false)), - - (Some(r##"v"##), - Some(r##"p"##), - Some(r##"Set various optional parameters, matching the key=value form"##), - Some(false), - Some(true)), - - (Some(r##"out"##), - Some(r##"o"##), - Some(r##"Specify the file into which to write the program's output"##), - Some(false), - Some(false)), - ]), - ]), - - ]; - - let mut app = App::new("slides1") - .author("Sebastian Thiel ") - .version("1.0.4+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") - .long("scope") - .help("Specify the authentication a method should be executed in. Each scope requires the user to grant this application permission to use it.If unset, it defaults to the shortest scope url for a particular method.") - .multiple(true) - .takes_value(true)) - .arg(Arg::with_name("folder") - .long("config-dir") - .help("A directory into which we will store our persistent data. Defaults to a user-writable directory that we will create during the first invocation.[default: ~/.google-service-cli") - .multiple(false) - .takes_value(true)) - .arg(Arg::with_name("debug") - .long("debug") - .help("Output all server communication to standard error. `tx` and `rx` are placed into the same stream.") - .multiple(false) - .takes_value(false)) - .arg(Arg::with_name("debug-auth") - .long("debug-auth") - .help("Output all communication related to authentication to standard error. `tx` and `rx` are placed into the same stream.") - .multiple(false) - .takes_value(false)); - - for &(main_command_name, about, ref subcommands) in arg_data.iter() { - let mut mcmd = SubCommand::with_name(main_command_name).about(about); - - for &(sub_command_name, ref desc, url_info, ref args) in subcommands { - let mut scmd = SubCommand::with_name(sub_command_name); - if let &Some(desc) = desc { - scmd = scmd.about(desc); - } - scmd = scmd.after_help(url_info); - - for &(ref arg_name, ref flag, ref desc, ref required, ref multi) in args { - let arg_name_str = - match (arg_name, flag) { - (&Some(an), _ ) => an, - (_ , &Some(f)) => f, - _ => unreachable!(), - }; - let mut arg = Arg::with_name(arg_name_str) - .empty_values(false); - if let &Some(short_flag) = flag { - arg = arg.short(short_flag); - } - if let &Some(desc) = desc { - arg = arg.help(desc); - } - if arg_name.is_some() && flag.is_some() { - arg = arg.takes_value(true); - } - if let &Some(required) = required { - arg = arg.required(required); - } - if let &Some(multi) = multi { - arg = arg.multiple(multi); - } - scmd = scmd.arg(arg); - } - mcmd = mcmd.subcommand(scmd); - } - app = app.subcommand(mcmd); - } - - let matches = app.get_matches(); - - let debug = matches.is_present("debug"); - match Engine::new(matches) { - Err(err) => { - exit_status = err.exit_code; - writeln!(io::stderr(), "{}", err).ok(); - }, - Ok(engine) => { - if let Err(doit_err) = engine.doit() { - exit_status = 1; - match doit_err { - DoitError::IoError(path, err) => { - writeln!(io::stderr(), "Failed to open output file '{}': {}", path, err).ok(); - }, - DoitError::ApiError(err) => { - if debug { - writeln!(io::stderr(), "{:#?}", err).ok(); - } else { - writeln!(io::stderr(), "{}", err).ok(); - } - } - } - } - } - } - - std::process::exit(exit_status); -} \ No newline at end of file diff --git a/gen/slides1/Cargo.toml b/gen/slides1/Cargo.toml deleted file mode 100644 index 29d81976dc..0000000000 --- a/gen/slides1/Cargo.toml +++ /dev/null @@ -1,28 +0,0 @@ -# DO NOT EDIT ! -# This file was generated automatically from 'src/mako/Cargo.toml.mako' -# DO NOT EDIT ! -[package] - -name = "google-slides1" -version = "1.0.4+20170509" -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.4+20170509" -license = "MIT" -keywords = ["slides", "google", "protocol", "web", "api"] - - -[dependencies] -hyper = "^ 0.10" -mime = "^ 0.2.0" -serde = "^ 0.9" -serde_json = "^ 0.9" -serde_derive = "^ 0.9" -yup-oauth2 = "^ 1.0" -url = "= 0.5" - -[features] - - diff --git a/gen/slides1/LICENSE.md b/gen/slides1/LICENSE.md deleted file mode 100644 index ff523b4547..0000000000 --- a/gen/slides1/LICENSE.md +++ /dev/null @@ -1,30 +0,0 @@ - -The MIT License (MIT) -===================== - -Copyright © `2015-2016` `Sebastian Thiel` - -Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated documentation -files (the “Software”), to deal in the Software without -restriction, including without limitation the rights to use, -copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the -Software is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -OTHER DEALINGS IN THE SOFTWARE. diff --git a/gen/slides1/README.md b/gen/slides1/README.md deleted file mode 100644 index 2aa96dd17d..0000000000 --- a/gen/slides1/README.md +++ /dev/null @@ -1,179 +0,0 @@ - -The `google-slides1` library allows access to all features of the *Google Slides* service. - -This documentation was generated from *Slides* crate version *1.0.4+20170509*, where *20170509* is the exact revision of the *slides:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.4*. - -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.4+20170509/google_slides1/struct.Slides.html) ... - -* [presentations](https://docs.rs/google-slides1/1.0.4+20170509/google_slides1/struct.Presentation.html) - * [*batch update*](https://docs.rs/google-slides1/1.0.4+20170509/google_slides1/struct.PresentationBatchUpdateCall.html), [*create*](https://docs.rs/google-slides1/1.0.4+20170509/google_slides1/struct.PresentationCreateCall.html), [*get*](https://docs.rs/google-slides1/1.0.4+20170509/google_slides1/struct.PresentationGetCall.html), [*pages get*](https://docs.rs/google-slides1/1.0.4+20170509/google_slides1/struct.PresentationPageGetCall.html) and [*pages get thumbnail*](https://docs.rs/google-slides1/1.0.4+20170509/google_slides1/struct.PresentationPageGetThumbnailCall.html) - - - - -# Structure of this Library - -The API is structured into the following primary items: - -* **[Hub](https://docs.rs/google-slides1/1.0.4+20170509/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.4+20170509/google_slides1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-slides1/1.0.4+20170509/google_slides1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-slides1/1.0.4+20170509/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.4+20170509/google_slides1/trait.Part.html)** - * a collection of properties - * never directly used in *Activities* -* **[Activities](https://docs.rs/google-slides1/1.0.4+20170509/google_slides1/trait.CallBuilder.html)** - * operations to apply to *Resources* - -All *structures* are marked with applicable traits to further categorize them and ease browsing. - -Generally speaking, you can invoke *Activities* like this: - -```Rust,ignore -let r = hub.resource().activity(...).doit() -``` - -Or specifically ... - -```ignore -let r = hub.presentations().create(...).doit() -let r = hub.presentations().get(...).doit() -let r = hub.presentations().batch_update(...).doit() -let r = hub.presentations().pages_get(...).doit() -let r = hub.presentations().pages_get_thumbnail(...).doit() -``` - -The `resource()` and `activity(...)` calls create [builders][builder-pattern]. The second one dealing with `Activities` -supports various methods to configure the impending operation (not shown here). It is made such that all required arguments have to be -specified right away (i.e. `(...)`), whereas all optional ones can be [build up][builder-pattern] as desired. -The `doit()` method performs the actual communication with the server and returns the respective result. - -# Usage - -## Setting up your Project - -To use this library, you would put the following lines into your `Cargo.toml` file: - -```toml -[dependencies] -google-slides1 = "*" -``` - -## A complete example - -```Rust -extern crate hyper; -extern crate yup_oauth2 as oauth2; -extern crate google_slides1 as slides1; -use slides1::{Result, Error}; -use std::default::Default; -use oauth2::{Authenticator, DefaultAuthenticatorDelegate, ApplicationSecret, MemoryStorage}; -use slides1::Slides; - -// Get an ApplicationSecret instance by some means. It contains the `client_id` and -// `client_secret`, among other things. -let secret: ApplicationSecret = Default::default(); -// Instantiate the authenticator. It will choose a suitable authentication flow for you, -// unless you replace `None` with the desired Flow. -// Provide your own `AuthenticatorDelegate` to adjust the way it operates and get feedback about -// what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and -// retrieve them from storage. -let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, - hyper::Client::new(), - ::default(), None); -let mut hub = Slides::new(hyper::Client::new(), auth); -// You can configure optional parameters by calling the respective setters at will, and -// execute the final call using `doit()`. -// Values shown here are possibly random and not representative ! -let result = hub.presentations().pages_get_thumbnail("presentationId", "pageObjectId") - .thumbnail_properties_thumbnail_size("Stet") - .thumbnail_properties_mime_type("sed") - .doit(); - -match result { - Err(e) => match e { - // The Error enum provides details about what exactly happened. - // You can also just use its `Debug`, `Display` or `Error` traits - Error::HttpError(_) - |Error::MissingAPIKey - |Error::MissingToken(_) - |Error::Cancelled - |Error::UploadSizeLimitExceeded(_, _) - |Error::Failure(_) - |Error::BadRequest(_) - |Error::FieldClash(_) - |Error::JsonDecodeError(_, _) => println!("{}", e), - }, - Ok(res) => println!("Success: {:?}", res), -} - -``` -## Handling Errors - -All errors produced by the system are provided either as [Result](https://docs.rs/google-slides1/1.0.4+20170509/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.4+20170509/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.4+20170509/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.4+20170509/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")`. - -Methods supporting uploads can do so using up to 2 different protocols: -*simple* and *resumable*. The distinctiveness of each is represented by customized -`doit(...)` methods, which are then named `upload(...)` and `upload_resumable(...)` respectively. - -## Customization and Callbacks - -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-slides1/1.0.4+20170509/google_slides1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-slides1/1.0.4+20170509/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.4+20170509/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.4+20170509/google_slides1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-slides1/1.0.4+20170509/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.4+20170509/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.4+20170509/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.4+20170509/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. - -[wiki-pod]: http://en.wikipedia.org/wiki/Plain_old_data_structure -[builder-pattern]: http://en.wikipedia.org/wiki/Builder_pattern -[google-go-api]: https://github.com/google/google-api-go-client - -# License -The **slides1** library was generated by Sebastian Thiel, and is placed -under the *MIT* license. -You can read the full text at the repository's [license file][repo-license]. - -[repo-license]: https://github.com/Byron/google-apis-rsblob/master/LICENSE.md diff --git a/gen/slides1/src/cmn.rs b/gen/slides1/src/cmn.rs deleted file mode 100644 index 77d71c8896..0000000000 --- a/gen/slides1/src/cmn.rs +++ /dev/null @@ -1,753 +0,0 @@ -// COPY OF 'src/rust/api/cmn.rs' -// DO NOT EDIT -use std::io::{self, Read, Seek, Cursor, Write, SeekFrom}; -use std; -use std::fmt::{self, Display}; -use std::str::FromStr; -use std::error; -use std::thread::sleep; -use std::time::Duration; - -use mime::{Mime, TopLevel, SubLevel, Attr, Value}; -use oauth2::{TokenType, Retry, self}; -use hyper; -use hyper::header::{ContentType, ContentLength, Headers, UserAgent, Authorization, Header, - HeaderFormat, Bearer}; -use hyper::http::h1::LINE_ENDING; -use hyper::method::Method; -use hyper::status::StatusCode; - -use serde_json as json; - -/// Identifies the Hub. There is only one per library, this trait is supposed -/// to make intended use more explicit. -/// The hub allows to access all resource methods more easily. -pub trait Hub {} - -/// Identifies types for building methods of a particular resource type -pub trait MethodsBuilder {} - -/// Identifies types which represent builders for a particular resource method -pub trait CallBuilder {} - -/// Identifies types which can be inserted and deleted. -/// Types with this trait are most commonly used by clients of this API. -pub trait Resource {} - -/// Identifies types which are used in API responses. -pub trait ResponseResult {} - -/// Identifies types which are used in API requests. -pub trait RequestValue {} - -/// Identifies types which are not actually used by the API -/// This might be a bug within the google API schema. -pub trait UnusedType {} - -/// Identifies types which are only used as part of other types, which -/// usually are carrying the `Resource` trait. -pub trait Part {} - -/// Identifies types which are only used by other types internally. -/// They have no special meaning, this trait just marks them for completeness. -pub trait NestedType {} - -/// A utility to specify reader types which provide seeking capabilities too -pub trait ReadSeek: Seek + Read {} -impl ReadSeek for T {} - -/// A trait for all types that can convert themselves into a *parts* string -pub trait ToParts { - fn to_parts(&self) -> String; -} - -/// A utility type which can decode a server response that indicates error -#[derive(Deserialize)] -pub struct JsonServerError { - pub error: String, - pub error_description: Option -} - -/// A utility to represent detailed errors we might see in case there are BadRequests. -/// The latter happen if the sent parameters or request structures are unsound -#[derive(Deserialize, Serialize, Debug)] -pub struct ErrorResponse { - error: ServerError, -} - -#[derive(Deserialize, Serialize, Debug)] -pub struct ServerError { - errors: Vec, - code: u16, - message: String, -} - -#[derive(Deserialize, Serialize, Debug)] -pub struct ServerMessage { - domain: String, - reason: String, - message: String, - #[serde(rename="locationType")] - location_type: Option, - location: Option -} - -#[derive(Copy, Clone)] -pub struct DummyNetworkStream; - -impl Read for DummyNetworkStream { - fn read(&mut self, _: &mut [u8]) -> io::Result { - Ok(0) - } -} - -impl Write for DummyNetworkStream { - fn write(&mut self, _: &[u8]) -> io::Result { - Ok(0) - } - - fn flush(&mut self) -> io::Result<()> { - Ok(()) - } -} - -impl hyper::net::NetworkStream for DummyNetworkStream { - fn peer_addr(&mut self) -> io::Result { - Ok("127.0.0.1:1337".parse().unwrap()) - } - - fn set_read_timeout(&self, _dur: Option) -> io::Result<()> { - Ok(()) - } - - fn set_write_timeout(&self, _dur: Option) -> io::Result<()> { - Ok(()) - } -} - - -/// A trait specifying functionality to help controlling any request performed by the API. -/// The trait has a conservative default implementation. -/// -/// It contains methods to deal with all common issues, as well with the ones related to -/// uploading media -pub trait Delegate { - - /// Called at the beginning of any API request. The delegate should store the method - /// information if he is interesting in knowing more context when further calls to it - /// are made. - /// The matching `finished()` call will always be made, no matter whether or not the API - /// request was successful. That way, the delegate may easily maintain a clean state - /// between various API calls. - fn begin(&mut self, MethodInfo) {} - - /// Called whenever there is an [HttpError](http://hyperium.github.io/hyper/hyper/error/enum.HttpError.html), usually if there are network problems. - /// - /// If you choose to retry after a duration, the duration should be chosen using the - /// [exponential backoff algorithm](http://en.wikipedia.org/wiki/Exponential_backoff). - /// - /// Return retry information. - fn http_error(&mut self, &hyper::Error) -> Retry { - Retry::Abort - } - - /// Called whenever there is the need for your applications API key after - /// the official authenticator implementation didn't provide one, for some reason. - /// If this method returns None as well, the underlying operation will fail - fn api_key(&mut self) -> Option { - None - } - - /// Called whenever the Authenticator didn't yield a token. The delegate - /// may attempt to provide one, or just take it as a general information about the - /// impending failure. - /// The given Error provides information about why the token couldn't be acquired in the - /// first place - fn token(&mut self, err: &error::Error) -> Option { - let _ = err; - None - } - - /// Called during resumable uploads to provide a URL for the impending upload. - /// It was saved after a previous call to `store_upload_url(...)`, and if not None, - /// will be used instead of asking the server for a new upload URL. - /// This is useful in case a previous resumable upload was aborted/canceled, but should now - /// be resumed. - /// The returned URL will be used exactly once - if it fails again and the delegate allows - /// to retry, we will ask the server for a new upload URL. - fn upload_url(&mut self) -> Option { - None - } - - /// Called after we have retrieved a new upload URL for a resumable upload to store it - /// in case we fail or cancel. That way, we can attempt to resume the upload later, - /// see `upload_url()`. - /// It will also be called with None after a successful upload, which allows the delegate - /// to forget the URL. That way, we will not attempt to resume an upload that has already - /// finished. - fn store_upload_url(&mut self, url: Option<&str>) { - let _ = url; - } - - /// Called whenever a server response could not be decoded from json. - /// It's for informational purposes only, the caller will return with an error - /// accordingly. - /// - /// # Arguments - /// - /// * `json_encoded_value` - The json-encoded value which failed to decode. - /// * `json_decode_error` - The decoder error - fn response_json_decode_error(&mut self, json_encoded_value: &str, json_decode_error: &json::Error) { - let _ = json_encoded_value; - let _ = json_decode_error; - } - - /// Called whenever the http request returns with a non-success status code. - /// This can involve authentication issues, or anything else that very much - /// depends on the used API method. - /// The delegate should check the status, header and decoded json error to decide - /// whether to retry or not. In the latter case, the underlying call will fail. - /// - /// If you choose to retry after a duration, the duration should be chosen using the - /// [exponential backoff algorithm](http://en.wikipedia.org/wiki/Exponential_backoff). - fn http_failure(&mut self, _: &hyper::client::Response, Option, _: Option) -> Retry { - Retry::Abort - } - - /// Called prior to sending the main request of the given method. It can be used to time - /// the call or to print progress information. - /// It's also useful as you can be sure that a request will definitely be made. - fn pre_request(&mut self) { } - - /// Return the size of each chunk of a resumable upload. - /// Must be a power of two, with 1<<18 being the smallest allowed chunk size. - /// Will be called once before starting any resumable upload. - fn chunk_size(&mut self) -> u64 { - 1 << 23 - } - - /// Called before the given chunk is uploaded to the server. - /// If true is returned, the upload will be interrupted. - /// However, it may be resumable if you stored the upload URL in a previous call - /// to `store_upload_url()` - fn cancel_chunk_upload(&mut self, chunk: &ContentRange) -> bool { - let _ = chunk; - false - } - - /// Called before the API request method returns, in every case. It can be used to clean up - /// internal state between calls to the API. - /// This call always has a matching call to `begin(...)`. - /// - /// # Arguments - /// - /// * `is_success` - a true value indicates the operation was successful. If false, you should - /// discard all values stored during `store_upload_url`. - fn finished(&mut self, is_success: bool) { - let _ = is_success; - } -} - -/// A delegate with a conservative default implementation, which is used if no other delegate is -/// set. -#[derive(Default)] -pub struct DefaultDelegate; - -impl Delegate for DefaultDelegate {} - - -#[derive(Debug)] -pub enum Error { - /// The http connection failed - HttpError(hyper::Error), - - /// An attempt was made to upload a resource with size stored in field `.0` - /// even though the maximum upload size is what is stored in field `.1`. - UploadSizeLimitExceeded(u64, u64), - - /// Represents information about a request that was not understood by the server. - /// Details are included. - BadRequest(ErrorResponse), - - /// We needed an API key for authentication, but didn't obtain one. - /// Neither through the authenticator, nor through the Delegate. - MissingAPIKey, - - /// We required a Token, but didn't get one from the Authenticator - MissingToken(Box), - - /// The delgate instructed to cancel the operation - Cancelled, - - /// An additional, free form field clashed with one of the built-in optional ones - FieldClash(&'static str), - - /// Shows that we failed to decode the server response. - /// This can happen if the protocol changes in conjunction with strict json decoding. - JsonDecodeError(String, json::Error), - - /// Indicates an HTTP repsonse with a non-success status code - Failure(hyper::client::Response), -} - - -impl Display for Error { - fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { - match *self { - Error::HttpError(ref err) => err.fmt(f), - Error::UploadSizeLimitExceeded(ref resource_size, ref max_size) => - writeln!(f, "The media size {} exceeds the maximum allowed upload size of {}" - , resource_size, max_size), - Error::MissingAPIKey => { - (writeln!(f, "The application's API key was not found in the configuration")).ok(); - writeln!(f, "It is used as there are no Scopes defined for this method.") - }, - Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); - for err in err.error.errors.iter() { - try!(writeln!(f, " {}: {}, {}{}", - err.domain, - err.message, - err.reason, - match &err.location { - &Some(ref loc) => format!("@{}", loc), - &None => String::new(), - })); - } - Ok(()) - }, - Error::MissingToken(ref err) => - writeln!(f, "Token retrieval failed with error: {}", err), - Error::Cancelled => - writeln!(f, "Operation cancelled by delegate"), - Error::FieldClash(field) => - writeln!(f, "The custom parameter '{}' is already provided natively by the CallBuilder.", field), - Error::JsonDecodeError(ref json_str, ref err) - => writeln!(f, "{}: {}", err, json_str), - Error::Failure(ref response) => - writeln!(f, "Http status indicates failure: {:?}", response), - } - } -} - -impl error::Error for Error { - fn description(&self) -> &str { - match *self { - Error::HttpError(ref err) => err.description(), - Error::JsonDecodeError(_, ref err) => err.description(), - _ => "NO DESCRIPTION POSSIBLE - use `Display.fmt()` instead" - } - } - - fn cause(&self) -> Option<&error::Error> { - match *self { - Error::HttpError(ref err) => err.cause(), - Error::JsonDecodeError(_, ref err) => err.cause(), - _ => None - } - } -} - -/// A universal result type used as return for all calls. -pub type Result = std::result::Result; - -/// Contains information about an API request. -pub struct MethodInfo { - pub id: &'static str, - pub http_method: Method, -} - -const BOUNDARY: &'static str = "MDuXWGyeE33QFXGchb2VFWc4Z7945d"; - -/// Provides a `Read` interface that converts multiple parts into the protocol -/// identified by [RFC2387](https://tools.ietf.org/html/rfc2387). -/// **Note**: This implementation is just as rich as it needs to be to perform uploads -/// to google APIs, and might not be a fully-featured implementation. -#[derive(Default)] -pub struct MultiPartReader<'a> { - raw_parts: Vec<(Headers, &'a mut Read)>, - current_part: Option<(Cursor>, &'a mut Read)>, - last_part_boundary: Option>>, -} - -impl<'a> MultiPartReader<'a> { - - /// Reserve memory for exactly the given amount of parts - pub fn reserve_exact(&mut self, cap: usize) { - self.raw_parts.reserve_exact(cap); - } - - /// Add a new part to the queue of parts to be read on the first `read` call. - /// - /// # Arguments - /// - /// `headers` - identifying the body of the part. It's similar to the header - /// in an ordinary single-part call, and should thus contain the - /// same information. - /// `reader` - a reader providing the part's body - /// `size` - the amount of bytes provided by the reader. It will be put onto the header as - /// content-size. - /// `mime` - It will be put onto the content type - pub fn add_part(&mut self, reader: &'a mut Read, size: u64, mime_type: Mime) -> &mut MultiPartReader<'a> { - let mut headers = Headers::new(); - headers.set(ContentType(mime_type)); - headers.set(ContentLength(size)); - self.raw_parts.push((headers, reader)); - self - } - - /// Returns the mime-type representing our multi-part message. - /// Use it with the ContentType header. - pub fn mime_type(&self) -> Mime { - Mime( - TopLevel::Multipart, - SubLevel::Ext("Related".to_string()), - vec![(Attr::Ext("boundary".to_string()), Value::Ext(BOUNDARY.to_string()))], - ) - } - - /// Returns true if we are totally used - fn is_depleted(&self) -> bool { - self.raw_parts.len() == 0 && self.current_part.is_none() && self.last_part_boundary.is_none() - } - - /// Returns true if we are handling our last part - fn is_last_part(&self) -> bool { - self.raw_parts.len() == 0 && self.current_part.is_some() - } -} - -impl<'a> Read for MultiPartReader<'a> { - fn read(&mut self, buf: &mut [u8]) -> io::Result { - match (self.raw_parts.len(), - self.current_part.is_none(), - self.last_part_boundary.is_none()) { - (_, _, false) => { - let br = self.last_part_boundary.as_mut().unwrap().read(buf).unwrap_or(0); - if br < buf.len() { - self.last_part_boundary = None; - } - return Ok(br) - }, - (0, true, true) => return Ok(0), - (n, true, _) if n > 0 => { - let (headers, reader) = self.raw_parts.remove(0); - let mut c = Cursor::new(Vec::::new()); - (write!(&mut c, "{}--{}{}{}{}", LINE_ENDING, BOUNDARY, LINE_ENDING, - headers, LINE_ENDING)).unwrap(); - c.seek(SeekFrom::Start(0)).unwrap(); - self.current_part = Some((c, reader)); - } - _ => {}, - } - - // read headers as long as possible - let (hb, rr) = { - let &mut (ref mut c, ref mut reader) = self.current_part.as_mut().unwrap(); - let b = c.read(buf).unwrap_or(0); - (b, reader.read(&mut buf[b..])) - }; - - match rr { - Ok(bytes_read) => { - if hb < buf.len() && bytes_read == 0 { - if self.is_last_part() { - // before clearing the last part, we will add the boundary that - // will be written last - self.last_part_boundary = Some(Cursor::new( - format!("{}--{}--", LINE_ENDING, BOUNDARY).into_bytes())) - } - // We are depleted - this can trigger the next part to come in - self.current_part = None; - } - let mut total_bytes_read = hb + bytes_read; - while total_bytes_read < buf.len() && !self.is_depleted() { - match self.read(&mut buf[total_bytes_read ..]) { - Ok(br) => total_bytes_read += br, - Err(err) => return Err(err), - } - } - Ok(total_bytes_read) - } - Err(err) => { - // fail permanently - self.current_part = None; - self.last_part_boundary = None; - self.raw_parts.clear(); - Err(err) - } - } - } -} - -/// The `X-Upload-Content-Type` header. -/// -/// Generated via rustc --pretty expanded -Z unstable-options, and manually -/// processed to be more readable. -#[derive(PartialEq, Debug, Clone)] -pub struct XUploadContentType(pub Mime); - -impl ::std::ops::Deref for XUploadContentType { - type Target = Mime; - fn deref<'a>(&'a self) -> &'a Mime { &self.0 } -} -impl ::std::ops::DerefMut for XUploadContentType { - fn deref_mut<'a>(&'a mut self) -> &'a mut Mime { &mut self.0 } -} -impl Header for XUploadContentType { - fn header_name() -> &'static str { "X-Upload-Content-Type" } - fn parse_header(raw: &[Vec]) -> hyper::error::Result { - hyper::header::parsing::from_one_raw_str(raw).map(XUploadContentType) - } -} -impl HeaderFormat for XUploadContentType { - fn fmt_header(&self, f: &mut fmt::Formatter) -> fmt::Result { - Display::fmt(&**self, f) - } -} -impl Display for XUploadContentType { - fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { - fmt::Display::fmt(&**self, f) - } -} - -#[derive(Clone, PartialEq, Debug)] -pub struct Chunk { - pub first: u64, - pub last: u64 -} - -impl fmt::Display for Chunk { - fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result { - (write!(fmt, "{}-{}", self.first, self.last)).ok(); - Ok(()) - } -} - -impl FromStr for Chunk { - type Err = &'static str; - - /// NOTE: only implements `%i-%i`, not `*` - fn from_str(s: &str) -> std::result::Result { - let parts: Vec<&str> = s.split('-').collect(); - if parts.len() != 2 { - return Err("Expected two parts: %i-%i") - } - Ok( - Chunk { - first: match FromStr::from_str(parts[0]) { - Ok(d) => d, - _ => return Err("Couldn't parse 'first' as digit") - }, - last: match FromStr::from_str(parts[1]) { - Ok(d) => d, - _ => return Err("Couldn't parse 'last' as digit") - } - } - ) - } -} - -/// Implements the Content-Range header, for serialization only -#[derive(Clone, PartialEq, Debug)] -pub struct ContentRange { - pub range: Option, - pub total_length: u64, -} - -impl Header for ContentRange { - fn header_name() -> &'static str { - "Content-Range" - } - - /// We are not parsable, as parsing is done by the `Range` header - fn parse_header(_: &[Vec]) -> hyper::error::Result { - Err(hyper::error::Error::Method) - } -} - - -impl HeaderFormat for ContentRange { - fn fmt_header(&self, fmt: &mut fmt::Formatter) -> fmt::Result { - try!(fmt.write_str("bytes ")); - match self.range { - Some(ref c) => try!(c.fmt(fmt)), - None => try!(fmt.write_str("*")) - } - (write!(fmt, "/{}", self.total_length)).ok(); - Ok(()) - } -} - -#[derive(Clone, PartialEq, Debug)] -pub struct RangeResponseHeader(pub Chunk); - -impl Header for RangeResponseHeader { - fn header_name() -> &'static str { - "Range" - } - - fn parse_header(raw: &[Vec]) -> hyper::error::Result { - if raw.len() > 0 { - let v = &raw[0]; - if let Ok(s) = std::str::from_utf8(v) { - const PREFIX: &'static str = "bytes "; - if s.starts_with(PREFIX) { - if let Ok(c) = ::from_str(&s[PREFIX.len()..]) { - return Ok(RangeResponseHeader(c)) - } - } - } - } - Err(hyper::error::Error::Method) - } -} - -impl HeaderFormat for RangeResponseHeader { - /// No implmentation necessary, we just need to parse - fn fmt_header(&self, _: &mut fmt::Formatter) -> fmt::Result { - Err(fmt::Error) - } -} - -/// A utility type to perform a resumable upload from start to end. -pub struct ResumableUploadHelper<'a, A: 'a> { - pub client: &'a mut hyper::client::Client, - pub delegate: &'a mut Delegate, - pub start_at: Option, - pub auth: &'a mut A, - pub user_agent: &'a str, - pub auth_header: Authorization, - pub url: &'a str, - pub reader: &'a mut ReadSeek, - pub media_type: Mime, - pub content_length: u64 -} - -impl<'a, A> ResumableUploadHelper<'a, A> - where A: oauth2::GetToken { - - fn query_transfer_status(&mut self) -> std::result::Result> { - loop { - match self.client.post(self.url) - .header(UserAgent(self.user_agent.to_string())) - .header(ContentRange { range: None, total_length: self.content_length }) - .header(self.auth_header.clone()) - .send() { - Ok(r) => { - // 308 = resume-incomplete == PermanentRedirect - let headers = r.headers.clone(); - let h: &RangeResponseHeader = match headers.get() { - Some(hh) if r.status == StatusCode::PermanentRedirect => hh, - None|Some(_) => { - if let Retry::After(d) = self.delegate.http_failure(&r, None, None) { - sleep(d); - continue; - } - return Err(Ok(r)) - } - }; - return Ok(h.0.last) - } - Err(err) => { - if let Retry::After(d) = self.delegate.http_error(&err) { - sleep(d); - continue; - } - return Err(Err(err)) - } - } - } - } - - /// returns None if operation was cancelled by delegate, or the HttpResult. - /// It can be that we return the result just because we didn't understand the status code - - /// caller should check for status himself before assuming it's OK to use - pub fn upload(&mut self) -> Option> { - let mut start = match self.start_at { - Some(s) => s, - None => match self.query_transfer_status() { - Ok(s) => s, - Err(result) => return Some(result) - } - }; - - const MIN_CHUNK_SIZE: u64 = 1 << 18; - let chunk_size = match self.delegate.chunk_size() { - cs if cs > MIN_CHUNK_SIZE => cs, - _ => MIN_CHUNK_SIZE - }; - - self.reader.seek(SeekFrom::Start(start)).unwrap(); - loop { - let request_size = match self.content_length - start { - rs if rs > chunk_size => chunk_size, - rs => rs - }; - - let mut section_reader = self.reader.take(request_size); - let range_header = ContentRange { - range: Some(Chunk {first: start, last: start + request_size - 1}), - total_length: self.content_length - }; - start += request_size; - if self.delegate.cancel_chunk_upload(&range_header) { - return None - } - let res = self.client.post(self.url) - .header(range_header) - .header(ContentType(self.media_type.clone())) - .header(UserAgent(self.user_agent.to_string())) - .body(&mut section_reader) - .send(); - match res { - Ok(mut res) => { - if res.status == StatusCode::PermanentRedirect { - continue - } - if !res.status.is_success() { - let mut json_err = String::new(); - res.read_to_string(&mut json_err).unwrap(); - if let Retry::After(d) = self.delegate.http_failure(&res, - json::from_str(&json_err).ok(), - json::from_str(&json_err).ok()) { - sleep(d); - continue; - } - } - return Some(Ok(res)) - }, - Err(err) => { - if let Retry::After(d) = self.delegate.http_error(&err) { - sleep(d); - continue; - } - return Some(Err(err)) - } - } - } - } -} - -// Copy of src/rust/cli/cmn.rs -// TODO(ST): Allow sharing common code between program types -pub fn remove_json_null_values(value: &mut json::value::Value) { - match *value { - json::value::Value::Object(ref mut map) => { - let mut for_removal = Vec::new(); - - for (key, mut value) in map.iter_mut() { - if value.is_null() { - for_removal.push(key.clone()); - } else { - remove_json_null_values(&mut value); - } - } - - for key in &for_removal { - map.remove(key); - } - } - _ => {} - } -} diff --git a/gen/slides1/src/lib.rs b/gen/slides1/src/lib.rs deleted file mode 100644 index f9593c9b5d..0000000000 --- a/gen/slides1/src/lib.rs +++ /dev/null @@ -1,4892 +0,0 @@ -// DO NOT EDIT ! -// 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.4+20170509*, where *20170509* is the exact revision of the *slides:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.4*. -//! -//! Everything else about the *Slides* *v1* API can be found at the -//! [official documentation site](https://developers.google.com/slides/). -//! The original source code is [on github](https://github.com/Byron/google-apis-rs/tree/master/gen/slides1). -//! # Features -//! -//! Handle the following *Resources* with ease from the central [hub](struct.Slides.html) ... -//! -//! * [presentations](struct.Presentation.html) -//! * [*batch update*](struct.PresentationBatchUpdateCall.html), [*create*](struct.PresentationCreateCall.html), [*get*](struct.PresentationGetCall.html), [*pages get*](struct.PresentationPageGetCall.html) and [*pages get thumbnail*](struct.PresentationPageGetThumbnailCall.html) -//! -//! -//! -//! -//! Not what you are looking for ? Find all other Google APIs in their Rust [documentation index](http://byron.github.io/google-apis-rs). -//! -//! # Structure of this Library -//! -//! The API is structured into the following primary items: -//! -//! * **[Hub](struct.Slides.html)** -//! * a central object to maintain state and allow accessing all *Activities* -//! * creates [*Method Builders*](trait.MethodsBuilder.html) which in turn -//! allow access to individual [*Call Builders*](trait.CallBuilder.html) -//! * **[Resources](trait.Resource.html)** -//! * primary types that you can apply *Activities* to -//! * a collection of properties and *Parts* -//! * **[Parts](trait.Part.html)** -//! * a collection of properties -//! * never directly used in *Activities* -//! * **[Activities](trait.CallBuilder.html)** -//! * operations to apply to *Resources* -//! -//! All *structures* are marked with applicable traits to further categorize them and ease browsing. -//! -//! Generally speaking, you can invoke *Activities* like this: -//! -//! ```Rust,ignore -//! let r = hub.resource().activity(...).doit() -//! ``` -//! -//! Or specifically ... -//! -//! ```ignore -//! let r = hub.presentations().create(...).doit() -//! let r = hub.presentations().get(...).doit() -//! let r = hub.presentations().batch_update(...).doit() -//! let r = hub.presentations().pages_get(...).doit() -//! let r = hub.presentations().pages_get_thumbnail(...).doit() -//! ``` -//! -//! The `resource()` and `activity(...)` calls create [builders][builder-pattern]. The second one dealing with `Activities` -//! supports various methods to configure the impending operation (not shown here). It is made such that all required arguments have to be -//! specified right away (i.e. `(...)`), whereas all optional ones can be [build up][builder-pattern] as desired. -//! The `doit()` method performs the actual communication with the server and returns the respective result. -//! -//! # Usage -//! -//! ## Setting up your Project -//! -//! To use this library, you would put the following lines into your `Cargo.toml` file: -//! -//! ```toml -//! [dependencies] -//! google-slides1 = "*" -//! ``` -//! -//! ## A complete example -//! -//! ```test_harness,no_run -//! extern crate hyper; -//! extern crate yup_oauth2 as oauth2; -//! extern crate google_slides1 as slides1; -//! use slides1::{Result, Error}; -//! # #[test] fn egal() { -//! use std::default::Default; -//! use oauth2::{Authenticator, DefaultAuthenticatorDelegate, ApplicationSecret, MemoryStorage}; -//! use slides1::Slides; -//! -//! // Get an ApplicationSecret instance by some means. It contains the `client_id` and -//! // `client_secret`, among other things. -//! let secret: ApplicationSecret = Default::default(); -//! // Instantiate the authenticator. It will choose a suitable authentication flow for you, -//! // unless you replace `None` with the desired Flow. -//! // Provide your own `AuthenticatorDelegate` to adjust the way it operates and get feedback about -//! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and -//! // retrieve them from storage. -//! let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -//! hyper::Client::new(), -//! ::default(), None); -//! let mut hub = Slides::new(hyper::Client::new(), auth); -//! // You can configure optional parameters by calling the respective setters at will, and -//! // execute the final call using `doit()`. -//! // Values shown here are possibly random and not representative ! -//! let result = hub.presentations().pages_get_thumbnail("presentationId", "pageObjectId") -//! .thumbnail_properties_thumbnail_size("kasd") -//! .thumbnail_properties_mime_type("accusam") -//! .doit(); -//! -//! match result { -//! Err(e) => match e { -//! // The Error enum provides details about what exactly happened. -//! // You can also just use its `Debug`, `Display` or `Error` traits -//! Error::HttpError(_) -//! |Error::MissingAPIKey -//! |Error::MissingToken(_) -//! |Error::Cancelled -//! |Error::UploadSizeLimitExceeded(_, _) -//! |Error::Failure(_) -//! |Error::BadRequest(_) -//! |Error::FieldClash(_) -//! |Error::JsonDecodeError(_, _) => println!("{}", e), -//! }, -//! Ok(res) => println!("Success: {:?}", res), -//! } -//! # } -//! ``` -//! ## Handling Errors -//! -//! All errors produced by the system are provided either as [Result](enum.Result.html) enumeration as return value of -//! the doit() methods, or handed as possibly intermediate results to either the -//! [Hub Delegate](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](enum.Result.html), should be -//! read by you to obtain the media. -//! If such a method also supports a [Response Result](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")`. -//! -//! Methods supporting uploads can do so using up to 2 different protocols: -//! *simple* and *resumable*. The distinctiveness of each is represented by customized -//! `doit(...)` methods, which are then named `upload(...)` and `upload_resumable(...)` respectively. -//! -//! ## Customization and Callbacks -//! -//! You may alter the way an `doit()` method is called by providing a [delegate](trait.Delegate.html) to the -//! [Method Builder](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](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](trait.RequestValue.html) and -//! [decodable](trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses -//! are valid. -//! Most optionals are are considered [Parts](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](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](trait.RequestValue.html) are moved -//! -//! Arguments will always be copied or cloned into the builder, to make them independent of their original life times. -//! -//! [wiki-pod]: http://en.wikipedia.org/wiki/Plain_old_data_structure -//! [builder-pattern]: http://en.wikipedia.org/wiki/Builder_pattern -//! [google-go-api]: https://github.com/google/google-api-go-client -//! -//! - -// Unused attributes happen thanks to defined, but unused structures -// We don't warn about this, as depending on the API, some data structures or facilities are never used. -// Instead of pre-determining this, we just disable the lint. It's manually tuned to not have any -// unused imports in fully featured APIs. Same with unused_mut ... . -#![allow(unused_imports, unused_mut, dead_code)] - -// DO NOT EDIT ! -// This file was generated automatically from 'src/mako/api/lib.rs.mako' -// DO NOT EDIT ! - -#[macro_use] -extern crate serde_derive; - -extern crate hyper; -extern crate serde; -extern crate serde_json; -extern crate yup_oauth2 as oauth2; -extern crate mime; -extern crate url; - -mod cmn; - -use std::collections::HashMap; -use std::cell::RefCell; -use std::borrow::BorrowMut; -use std::default::Default; -use std::collections::BTreeMap; -use serde_json as json; -use std::io; -use std::fs; -use std::thread::sleep; -use std::time::Duration; - -pub use cmn::{MultiPartReader, ToParts, MethodInfo, Result, Error, CallBuilder, Hub, ReadSeek, Part, - ResponseResult, RequestValue, NestedType, Delegate, DefaultDelegate, MethodsBuilder, - Resource, ErrorResponse, remove_json_null_values}; - - -// ############## -// UTILITIES ### -// ############ - -/// Identifies the an OAuth2 authorization scope. -/// A scope is needed when requesting an -/// [authorization token](https://developers.google.com/youtube/v3/guides/authentication). -#[derive(PartialEq, Eq, Hash)] -pub enum Scope { - /// View and manage the files in your Google Drive - Drive, - - /// View your Google Slides presentations - PresentationReadonly, - - /// View your Google Spreadsheets - SpreadsheetReadonly, - - /// View the files in your Google Drive - DriveReadonly, - - /// View and manage your spreadsheets in Google Drive - Spreadsheet, - - /// View and manage your Google Slides presentations - Presentation, -} - -impl AsRef for Scope { - fn as_ref(&self) -> &str { - match *self { - Scope::Drive => "https://www.googleapis.com/auth/drive", - Scope::PresentationReadonly => "https://www.googleapis.com/auth/presentations.readonly", - Scope::SpreadsheetReadonly => "https://www.googleapis.com/auth/spreadsheets.readonly", - Scope::DriveReadonly => "https://www.googleapis.com/auth/drive.readonly", - Scope::Spreadsheet => "https://www.googleapis.com/auth/spreadsheets", - Scope::Presentation => "https://www.googleapis.com/auth/presentations", - } - } -} - -impl Default for Scope { - fn default() -> Scope { - Scope::PresentationReadonly - } -} - - - -// ######## -// HUB ### -// ###### - -/// Central instance to access all Slides related resource activities -/// -/// # Examples -/// -/// Instantiate a new hub -/// -/// ```test_harness,no_run -/// extern crate hyper; -/// extern crate yup_oauth2 as oauth2; -/// extern crate google_slides1 as slides1; -/// use slides1::{Result, Error}; -/// # #[test] fn egal() { -/// use std::default::Default; -/// use oauth2::{Authenticator, DefaultAuthenticatorDelegate, ApplicationSecret, MemoryStorage}; -/// use slides1::Slides; -/// -/// // Get an ApplicationSecret instance by some means. It contains the `client_id` and -/// // `client_secret`, among other things. -/// let secret: ApplicationSecret = Default::default(); -/// // Instantiate the authenticator. It will choose a suitable authentication flow for you, -/// // unless you replace `None` with the desired Flow. -/// // Provide your own `AuthenticatorDelegate` to adjust the way it operates and get feedback about -/// // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and -/// // retrieve them from storage. -/// let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, -/// hyper::Client::new(), -/// ::default(), None); -/// let mut hub = Slides::new(hyper::Client::new(), auth); -/// // You can configure optional parameters by calling the respective setters at will, and -/// // execute the final call using `doit()`. -/// // Values shown here are possibly random and not representative ! -/// let result = hub.presentations().pages_get_thumbnail("presentationId", "pageObjectId") -/// .thumbnail_properties_thumbnail_size("amet.") -/// .thumbnail_properties_mime_type("erat") -/// .doit(); -/// -/// match result { -/// Err(e) => match e { -/// // The Error enum provides details about what exactly happened. -/// // You can also just use its `Debug`, `Display` or `Error` traits -/// Error::HttpError(_) -/// |Error::MissingAPIKey -/// |Error::MissingToken(_) -/// |Error::Cancelled -/// |Error::UploadSizeLimitExceeded(_, _) -/// |Error::Failure(_) -/// |Error::BadRequest(_) -/// |Error::FieldClash(_) -/// |Error::JsonDecodeError(_, _) => println!("{}", e), -/// }, -/// Ok(res) => println!("Success: {:?}", res), -/// } -/// # } -/// ``` -pub struct Slides { - client: RefCell, - auth: RefCell, - _user_agent: String, -} - -impl<'a, C, A> Hub for Slides {} - -impl<'a, C, A> Slides - where C: BorrowMut, A: oauth2::GetToken { - - pub fn new(client: C, authenticator: A) -> Slides { - Slides { - client: RefCell::new(client), - auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.4".to_string(), - } - } - - pub fn presentations(&'a self) -> PresentationMethods<'a, C, A> { - PresentationMethods { hub: &self } - } - - /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.4`. - /// - /// Returns the previously set user-agent. - pub fn user_agent(&mut self, agent_name: String) -> String { - let prev = self._user_agent.clone(); - self._user_agent = agent_name; - prev - } -} - - -// ############ -// SCHEMAS ### -// ########## -/// Replaces all shapes that match the given criteria with the provided image. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct ReplaceAllShapesWithImageRequest { - /// If set, this request will replace all of the shapes that contain the - /// given text. - #[serde(rename="containsText")] - pub contains_text: Option, - /// The image URL. - /// - /// The image is fetched once at insertion time and a copy is stored for - /// display inside the presentation. Images must be less than 50MB in size, - /// cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF - /// format. - #[serde(rename="imageUrl")] - pub image_url: Option, - /// The replace method. - #[serde(rename="replaceMethod")] - pub replace_method: Option, -} - -impl Part for ReplaceAllShapesWithImageRequest {} - - -/// Replaces all shapes that match the given criteria with the provided Google -/// Sheets chart. The chart will be scaled and centered to fit within the bounds -/// of the original shape. -/// -/// NOTE: Replacing shapes with a chart requires at least one of the -/// spreadsheets.readonly, spreadsheets, drive.readonly, or drive OAuth scopes. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct ReplaceAllShapesWithSheetsChartRequest { - /// The ID of the Google Sheets spreadsheet that contains the chart. - #[serde(rename="spreadsheetId")] - pub spreadsheet_id: Option, - /// The ID of the specific chart in the Google Sheets spreadsheet. - #[serde(rename="chartId")] - pub chart_id: Option, - /// The mode with which the chart is linked to the source spreadsheet. When - /// not specified, the chart will be an image that is not linked. - #[serde(rename="linkingMode")] - pub linking_mode: Option, - /// The criteria that the shapes must match in order to be replaced. The - /// request will replace all of the shapes that contain the given text. - #[serde(rename="containsText")] - pub contains_text: Option, -} - -impl Part for ReplaceAllShapesWithSheetsChartRequest {} - - -/// A PageElement kind representing a -/// joined collection of PageElements. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct Group { - /// The collection of elements in the group. The minimum size of a group is 2. - pub children: Option>, -} - -impl Part for Group {} - - -/// The general text content. The text must reside in a compatible shape (e.g. -/// text box or rectangle) or a table cell in a page. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct TextContent { - /// The bulleted lists contained in this text, keyed by list ID. - pub lists: Option>, - /// The text contents broken down into its component parts, including styling - /// information. This property is read-only. - #[serde(rename="textElements")] - pub text_elements: Option>, -} - -impl Part for TextContent {} - - -/// The stretched picture fill. The page or page element is filled entirely with -/// the specified picture. The picture is stretched to fit its container. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct StretchedPictureFill { - /// Reading the content_url: - /// - /// An URL to a picture with a default lifetime of 30 minutes. - /// This URL is tagged with the account of the requester. Anyone with the URL - /// effectively accesses the picture as the original requester. Access to the - /// picture may be lost if the presentation's sharing settings change. - /// - /// Writing the content_url: - /// - /// The picture is fetched once at insertion time and a copy is stored for - /// display inside the presentation. Pictures must be less than 50MB in size, - /// cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF - /// format. - #[serde(rename="contentUrl")] - pub content_url: Option, - /// The original size of the picture fill. This field is read-only. - pub size: Option, -} - -impl Part for StretchedPictureFill {} - - -/// Represents a font family and weight used to style a TextRun. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct WeightedFontFamily { - /// The font family of the text. - /// - /// The font family can be any font from the Font menu in Slides or from - /// [Google Fonts] (https://fonts.google.com/). If the font name is - /// unrecognized, the text is rendered in `Arial`. - #[serde(rename="fontFamily")] - pub font_family: Option, - /// The rendered weight of the text. This field can have any value that is a - /// multiple of `100` between `100` and `900`, inclusive. This range - /// corresponds to the numerical values described in the CSS 2.1 - /// Specification, [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), - /// with non-numerical values disallowed. Weights greater than or equal to - /// `700` are considered bold, and weights less than `700`are not bold. The - /// default value is `400` ("normal"). - pub weight: Option, -} - -impl Part for WeightedFontFamily {} - - -/// Creates an image. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct CreateImageRequest { - /// The image URL. - /// - /// The image is fetched once at insertion time and a copy is stored for - /// display inside the presentation. Images must be less than 50MB in size, - /// cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF - /// format. - pub url: Option, - /// A user-supplied object ID. - /// - /// If you specify an ID, it must be unique among all pages and page elements - /// in the presentation. The ID must start with an alphanumeric character or an - /// underscore (matches regex `[a-zA-Z0-9_]`); remaining characters - /// may include those as well as a hyphen or colon (matches regex - /// `[a-zA-Z0-9_-:]`). - /// The length of the ID must not be less than 5 or greater than 50. - /// - /// If you don't specify an ID, a unique one is generated. - #[serde(rename="objectId")] - pub object_id: Option, - /// The element properties for the image. - /// - /// When the aspect ratio of the provided size does not match the image aspect - /// ratio, the image is scaled and centered with respect to the size in order - /// to maintain aspect ratio. The provided transform is applied after this - /// operation. - #[serde(rename="elementProperties")] - pub element_properties: Option, -} - -impl Part for CreateImageRequest {} - - -/// Replaces all instances of text matching a criteria with replace text. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct ReplaceAllTextRequest { - /// Finds text in a shape matching this substring. - #[serde(rename="containsText")] - pub contains_text: Option, - /// The text that will replace the matched text. - #[serde(rename="replaceText")] - pub replace_text: Option, -} - -impl Part for ReplaceAllTextRequest {} - - -/// Response message from a batch update. -/// -/// # Activities -/// -/// This type is used in activities, which are methods you may call on this type or where this type is involved in. -/// The list links the activity name, along with information about where it is used (one of *request* and *response*). -/// -/// * [batch update presentations](struct.PresentationBatchUpdateCall.html) (response) -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct BatchUpdatePresentationResponse { - /// The presentation the updates were applied to. - #[serde(rename="presentationId")] - pub presentation_id: Option, - /// The reply of the updates. This maps 1:1 with the updates, although - /// replies to some requests may be empty. - pub replies: Option>, -} - -impl ResponseResult for BatchUpdatePresentationResponse {} - - -/// The crop properties of an object enclosed in a container. For example, an -/// Image. -/// -/// The crop properties is represented by the offsets of four edges which define -/// a crop rectangle. The offsets are measured in percentage from the -/// corresponding edges of the object's original bounding rectangle towards -/// inside, relative to the object's original dimensions. -/// -/// - If the offset is in the interval (0, 1), the corresponding edge of crop -/// rectangle is positioned inside of the object's original bounding rectangle. -/// - If the offset is negative or greater than 1, the corresponding edge of crop -/// rectangle is positioned outside of the object's original bounding rectangle. -/// - If the left edge of the crop rectangle is on the right side of its right -/// edge, the object will be flipped horizontally. -/// - If the top edge of the crop rectangle is below its bottom edge, the object -/// will be flipped vertically. -/// - If all offsets and rotation angle is 0, the object is not cropped. -/// -/// After cropping, the content in the crop rectangle will be stretched to fit -/// its container. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct CropProperties { - /// The offset specifies the left edge of the crop rectangle that is located to - /// the right of the original bounding rectangle left edge, relative to the - /// object's original width. - #[serde(rename="leftOffset")] - pub left_offset: Option, - /// The rotation angle of the crop window around its center, in radians. - /// Rotation angle is applied after the offset. - pub angle: Option, - /// The offset specifies the right edge of the crop rectangle that is located - /// to the left of the original bounding rectangle right edge, relative to the - /// object's original width. - #[serde(rename="rightOffset")] - pub right_offset: Option, - /// The offset specifies the bottom edge of the crop rectangle that is located - /// above the original bounding rectangle bottom edge, relative to the object's - /// original height. - #[serde(rename="bottomOffset")] - pub bottom_offset: Option, - /// The offset specifies the top edge of the crop rectangle that is located - /// below the original bounding rectangle top edge, relative to the object's - /// original height. - #[serde(rename="topOffset")] - pub top_offset: Option, -} - -impl Part for CropProperties {} - - -/// The properties of the SheetsChart. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct SheetsChartProperties { - /// The properties of the embedded chart image. - #[serde(rename="chartImageProperties")] - pub chart_image_properties: Option, -} - -impl Part for SheetsChartProperties {} - - -/// A criteria that matches a specific string of text in a shape or table. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct SubstringMatchCriteria { - /// The text to search for in the shape or table. - pub text: Option, - /// Indicates whether the search should respect case: - /// - /// - `True`: the search is case sensitive. - /// - `False`: the search is case insensitive. - #[serde(rename="matchCase")] - pub match_case: Option, -} - -impl Part for SubstringMatchCriteria {} - - -/// Contains properties describing the look and feel of a list bullet at a given -/// level of nesting. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct NestingLevel { - /// The style of a bullet at this level of nesting. - #[serde(rename="bulletStyle")] - pub bullet_style: Option, -} - -impl Part for NestingLevel {} - - -/// The properties of the Video. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct VideoProperties { - /// The outline of the video. The default outline matches the defaults for new - /// videos created in the Slides editor. - pub outline: Option, -} - -impl Part for VideoProperties {} - - -/// The shape background fill. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct ShapeBackgroundFill { - /// Solid color fill. - #[serde(rename="solidFill")] - pub solid_fill: Option, - /// The background fill property state. - /// - /// Updating the the fill on a shape will implicitly update this field to - /// `RENDERED`, unless another value is specified in the same request. To - /// have no fill on a shape, set this field to `NOT_RENDERED`. In this case, - /// any other fill fields set in the same request will be ignored. - #[serde(rename="propertyState")] - pub property_state: Option, -} - -impl Part for ShapeBackgroundFill {} - - -/// The palette of predefined colors for a page. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct ColorScheme { - /// The ThemeColorType and corresponding concrete color pairs. - pub colors: Option>, -} - -impl Part for ColorScheme {} - - -/// The page background fill. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct PageBackgroundFill { - /// Solid color fill. - #[serde(rename="solidFill")] - pub solid_fill: Option, - /// The background fill property state. - /// - /// Updating the the fill on a page will implicitly update this field to - /// `RENDERED`, unless another value is specified in the same request. To - /// have no fill on a page, set this field to `NOT_RENDERED`. In this case, - /// any other fill fields set in the same request will be ignored. - #[serde(rename="propertyState")] - pub property_state: Option, - /// Stretched picture fill. - #[serde(rename="stretchedPictureFill")] - pub stretched_picture_fill: Option, -} - -impl Part for PageBackgroundFill {} - - -/// Refreshes an embedded Google Sheets chart by replacing it with the latest -/// version of the chart from Google Sheets. -/// -/// NOTE: Refreshing charts requires at least one of the spreadsheets.readonly, -/// spreadsheets, drive.readonly, or drive OAuth scopes. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct RefreshSheetsChartRequest { - /// The object ID of the chart to refresh. - #[serde(rename="objectId")] - pub object_id: Option, -} - -impl Part for RefreshSheetsChartRequest {} - - -/// A magnitude in a single direction in the specified units. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct Dimension { - /// The magnitude. - pub magnitude: Option, - /// The units for magnitude. - pub unit: Option, -} - -impl Part for Dimension {} - - -/// A solid color fill. The page or page element is filled entirely with the -/// specified color value. -/// -/// If any field is unset, its value may be inherited from a parent placeholder -/// if it exists. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct SolidFill { - /// The color value of the solid fill. - pub color: Option, - /// The fraction of this `color` that should be applied to the pixel. - /// That is, the final pixel color is defined by the equation: - /// - /// pixel color = alpha * (color) + (1.0 - alpha) * (background color) - /// - /// This means that a value of 1.0 corresponds to a solid color, whereas - /// a value of 0.0 corresponds to a completely transparent color. - pub alpha: Option, -} - -impl Part for SolidFill {} - - -/// Inserts columns into a table. -/// -/// Other columns in the table will be resized to fit the new column. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct InsertTableColumnsRequest { - /// Whether to insert new columns to the right of the reference cell location. - /// - /// - `True`: insert to the right. - /// - `False`: insert to the left. - #[serde(rename="insertRight")] - pub insert_right: Option, - /// The number of columns to be inserted. Maximum 20 per request. - pub number: Option, - /// The reference table cell location from which columns will be inserted. - /// - /// A new column will be inserted to the left (or right) of the column where - /// the reference cell is. If the reference cell is a merged cell, a new - /// column will be inserted to the left (or right) of the merged cell. - #[serde(rename="cellLocation")] - pub cell_location: Option, - /// The table to insert columns into. - #[serde(rename="tableObjectId")] - pub table_object_id: Option, -} - -impl Part for InsertTableColumnsRequest {} - - -/// Deletes a column from a table. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct DeleteTableColumnRequest { - /// The reference table cell location from which a column will be deleted. - /// - /// The column this cell spans will be deleted. If this is a merged cell, - /// multiple columns will be deleted. If no columns remain in the table after - /// this deletion, the whole table is deleted. - #[serde(rename="cellLocation")] - pub cell_location: Option, - /// The table to delete columns from. - #[serde(rename="tableObjectId")] - pub table_object_id: Option, -} - -impl Part for DeleteTableColumnRequest {} - - -/// A visual element rendered on a page. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct PageElement { - /// A word art page element. - #[serde(rename="wordArt")] - pub word_art: Option, - /// The description of the page element. Combined with title to display alt - /// text. - pub description: Option, - /// The object ID for this page element. Object IDs used by - /// google.apps.slides.v1.Page and - /// google.apps.slides.v1.PageElement share the same namespace. - #[serde(rename="objectId")] - pub object_id: Option, - /// The title of the page element. Combined with description to display alt - /// text. - pub title: Option, - /// An image page element. - pub image: Option, - /// The transform of the page element. - pub transform: Option, - /// A generic shape. - pub shape: Option, - /// A linked chart embedded from Google Sheets. Unlinked charts are - /// represented as images. - #[serde(rename="sheetsChart")] - pub sheets_chart: Option, - /// A video page element. - pub video: Option